http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52114
Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |daniel.kruegler at | |googlemail dot com --- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-02-04 20:32:31 UTC --- Indeed and easy to do. Yesterday I was wondering: is there something in C++11 saying explicitly that these tricks are allowed, or some sort of blanket statement explaining how the return type specifications are meant to be read? Adding Daniel in CC.