http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52917

--- Comment #3 from freunddeslichts at web dot de 2012-04-10 09:54:28 UTC ---
Ok, I didn't know about the defect report and resolution yet.
I must admit that I quite like the <int&()> syntax.

I added a remark about the defect and a short example to
http://en.cppreference.com/w/cpp/utility/functional/mem_fn

And I noted that the most c++11-ish code would be anyway:

auto y = [] (X& x) {return x.get();};

Reply via email to