Boost logo

Boost :

From: Matthias Schabel (boost_at_[hidden])
Date: 2007-04-05 13:53:15


> http://thread.gmane.org/gmane.comp.lib.boost.devel/101946/focus=102070
>
> Would that be enough? Usage would look like:
>
> #include BOOST_UNITS_ORDINAL_GENERATOR()
> struct my_unit : ordinal<BOOST_UNITS_NEXT_ORDINAL>
> {
> };

I believe the problem with this is that it doesn't guarantee
uniqueness across translation units; Steven understands these issues
better than I do, though.

Matthias


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