[Bug c++/50711] [C++0x] substitution failure reports error with result_of

paolo.carlini at oracle dot com gcc-bugzilla@gcc.gnu.org
Thu Oct 13 02:16:00 GMT 2011


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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |daniel.kruegler at
                   |                            |googlemail dot com

--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-10-13 02:15:42 UTC ---
Unfortunately, I don't think you can use std::result_of for sfinae purposes, if
I understand correctly it's a well know annoyance which you have to overcome by
open coding with std::declval.



More information about the Gcc-bugs mailing list