开发者

The name of function "mem_fun_t"

What d开发者_如何学编程oes the "t" prefix of mem_fun_t of STL stand for?

The difference between mem_fun and mem_fun_t is that the first one is a function returning an object of the second one, but how it "t" related to being a class?


t is for type. (nullptr_t is the type of nullptr, mem_fun_t is the type of mem_fun.size_t` is the type used to denote object sizes and so on)


t suffix: could it be..... "type"?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜