Namespaces
Variants
Views
Actions

Talk:cpp/utility/functional/mem fn

From cppreference.com
auto greet = std::mem_fn(&Foo::display_greeting);

This is quoted from the example C++ code. I wonder what is 'auto'.

Does it mean auto_ptr?

It's a keyword. See cpp/language/auto. --Bazzy 06:12, 18 March 2013 (PDT)
Then, I wonder who added this without letting me know??? :-) C++11 is a way extended.. it even seems to be another language to me. Thank you Bazzy.