signature S / ... S::f(...) const doesn't work !
Martin v. Loewis
martin@mira.isdn.cs.tu-berlin.de
Sun Oct 31 23:03:00 GMT 1999
> When trying to keep `const' after S::value(), i cannot compile this
> example :
>
> #include "iostream"
>
> signature S
> {
> int value() const;
> };
Thanks for your bug report. It is unlikely that the bug will ever get
fixed, since signatures are not longer a feature of g++ (starting with
the next major release). Please consider alternative constructs, like
virtual base classes with pure virtual functions.
Regards,
Martin
More information about the Gcc-bugs
mailing list