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.