https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80950
--- Comment #3 from 陈林熙 <kmp53 at sina dot com> --- You're right. ISO IEC 14882 explicitly illustrates this. In GCC5.3, you can write a global function: template<class T> int (get) {} Cheat the compiler.