开发者

The name of function "mem_fun_t"

开发者 https://www.devze.com 2023-03-20 16:24 出处:网络
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

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

精彩评论

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