From: David Abrahams (dave_at_[hidden])
Date: 2007-11-16 23:05:42


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,

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com