default arguments are only permitted for function parameters
Radoslaw Garbacz
rgarbacz@aycan.de
Tue Jan 16 10:22:00 GMT 2007
Hello,
I got a compilation error as in the subject when compiling the code:
void (ClassT::*m_pfSet)(T , size_t = 0);
I found many references to this problem on the Internet and GCC web
pages, but I have not found a clear answer whether it is a GCC bug or a
desired change to comply the C++ standard.
From what I found it seems that there had been a desired change in
version 3.4 which later was reported as a bug.
I would be very obliged if someone could clerify the problem, whether I
shell change the code or wait for a patch.
Thanks in advance.
--
Radoslaw Garbacz <rgarbacz@aycan.de>
aycan Digitalsysteme GmbH
More information about the Gcc-help
mailing list