Boost logo

Boost Users :

From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2007-11-17 00:21:14


> David Abrahams <dave <at> boost-consulting.com> writes:
> > on Fri Nov 16 2007, Gennadiy Rozental <rogeeff-AT-gmail.com> wrote:
>
> > Let's say I've got class A {...} and I've implemented operator<(A,A).
> >
> > How can I export all the operators similarly to what boost::operators
doing in
> > one shot?
>
> Write a function template that exports each one, then use that over
> and over.
>
> HTH,

Why can't this be done inside the library. This looks like it should have some
demand.

Gennadiy


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net