This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]