[Bug c++/63648] compile error w/ pointer argument of result_of-is_same-enable_if returns
shunichi_wakabayashi at yahoo dot co.jp
gcc-bugzilla@gcc.gnu.org
Sun Oct 26 12:57:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63648
--- Comment #1 from s-wakaba <shunichi_wakabayashi at yahoo dot co.jp> ---
Comment on attachment 33811
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33811
compile error with gcc 4.8.2
at line #13
typename enable_if<is_same<typename result_of<FUNC(int)>::type, int>::value,
int>::type*, // error with gcc 4.8.x
typename enable_if<is_same<typename result_of<FUNC(int)>::type, int>::value,
int>::type, // OK - not pointer
typename enable_if<is_same<typename result_of<INTFUNC(int)>::type, int>::value,
int>::type*, // OK - not template arg
More information about the Gcc-bugs
mailing list