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