Boost logo

Boost :

From: Douglas Gregor (gregod_at_[hidden])
Date: 2002-09-10 15:39:40


On Tuesday 10 September 2002 04:27 pm, Guillaume.Melquiond wrote:
> already possible to do 'my_interval::traits_type::rounding'. What is the
> prefered style: 'interval_traits<my_interval>' or
> 'my_interval::traits_type'?

interval_traits<my_interval> would (theoretically) allow generic algorithms on
intervals parameterized by the interval type. It's also more standard in the
C++ community, I think.

        Doug


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