This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/50711] [C++0x] substitution failure reports error with result_of
- From: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 13 Oct 2011 02:15:42 +0000
- Subject: [Bug c++/50711] [C++0x] substitution failure reports error with result_of
- Auto-submitted: auto-generated
- References: <bug-50711-4@http.gcc.gnu.org/bugzilla/>
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.