ISO C++ forbids declaration of 'operator!' with no type
Kolesar
asim.husanovic@gmail.com
Tue Jan 27 08:20:00 GMT 2009
Hi All
I write template class with operator:
operator !() const
{ return (NULL == get()); }
My gcc compiler return error:
ISO C++ forbids declaration of 'operator!' with no type
But, on windows, build is OK without any warning or error.
How i can fix this error. Please help me.
Best Regards
Kolesar
--
View this message in context: http://www.nabble.com/ISO-C%2B%2B-forbids-declaration-of-%27operator%21%27-with-no-type-tp21681331p21681331.html
Sent from the gcc - Help mailing list archive at Nabble.com.
More information about the Gcc-help
mailing list