[C++-sig] small operators bug

David Abrahams dave at boost-consulting.com
Thu Oct 6 17:53:57 CEST 2005

Roman Yakovenko <roman.yakovenko at gmail.com> writes:

> I tried to export class similar to MyInt, but failed. I will try to
> bring correct use case.
> Any way if you understand what I talked about, could you explain how
> this functionality
> ( overloading operators ) should be exported?

Put all the overloads in the same class.  Functions in a derived class
hide all those with the same name in a base class, regardless of

Dave Abrahams
Boost Consulting

More information about the Cplusplus-sig mailing list