Boost logo

Boost :

From: Sylvain Pion (Sylvain.Pion_at_[hidden])
Date: 2005-03-07 11:36:08


Hi,

I have been using boost/operators.hpp recently, and found it
quite good at removing lines of code from my maintainance area :)
I have some remarks about it :

1/
The mixed operators are only provided if you know the type in
advance and it is fixed. For example, it is not possible for
example to mix with a template family of types. E.g. let's
say that My_type has to provide mixed operators with all types
X<U>. This is not possible to do with the current library.

Another related thing is how to express "I want My_type to mix
with all integral types". Maybe there could be a version of
the operators that uses enable_if and tr1::is_integral somehow,
for this purpose ?

Just a thought.

2/
I think it is "Euclidean Ring", not "Euclidian Ring" ("e" instead of
"i"), hence the names for euclidian_ring_operators<T> and similar,
are unfortunate.

-- 
Sylvain

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk