------- Comment #5 from paolo dot carlini at oracle dot com 2009-02-09 16:47 ------- Your snippet boils down to this, which is clearly invalid:
struct vector { void resize(long unsigned int, int = 0); }; template<typename _Ret, typename _Tp, typename _Arg> void mem_fun_ref(_Ret (_Tp::*__f)(_Arg)); void test() { mem_fun_ref(&vector::resize); } -- paolo dot carlini at oracle dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39136