T
tibirna
Hello
mem_fun_ref(&(std::list<int>::size))
is compiled as valid by gcc 3.3.4 and causes an error ("defined-id
needed") with gcc 4.0.2. The later requires
mem_fun_ref(&std::list<int>::size)
Is there a some subtle issue that the compiler has to comply with when
it refuses the parens? Or is this a compiler bug?
Thanks
mem_fun_ref(&(std::list<int>::size))
is compiled as valid by gcc 3.3.4 and causes an error ("defined-id
needed") with gcc 4.0.2. The later requires
mem_fun_ref(&std::list<int>::size)
Is there a some subtle issue that the compiler has to comply with when
it refuses the parens? Or is this a compiler bug?
Thanks