ISO C++ forbids declaration of 'operator!' with no type

Kolesar asim.husanovic@gmail.com
Tue Jan 27 13:09:00 GMT 2009


=)

Thanks, now is build.

Thanks a lot of
Kolesar


John (Eljay) Love-Jensen wrote:
> 
> Hi Kolesar,
> 
> What happens if you add the return type?
> 
> bool operator !() const
> { return (NULL == get()); }
> 
> --Eljay
> 
> 
-- 
View this message in context: http://www.nabble.com/ISO-C%2B%2B-forbids-declaration-of-%27operator%21%27-with-no-type-tp21681331p21684460.html
Sent from the gcc - Help mailing list archive at Nabble.com.



More information about the Gcc-help mailing list