Boost logo

Boost :

From: Michael Fawcett (michael.fawcett_at_[hidden])
Date: 2007-04-05 13:35:56

On 4/3/07, Steven Watanabe <steven_at_[hidden]> wrote:
> David Walthall <walthall <at>> writes:
> >
> > The only complaint I have is that unique values of ordinal<N> have to be
> > used.
> Nod. The only way to prevent collisions is to use
> more bits and either guids or compile time strings
> storing the fully qualified name.

Matthias posted about this before and I can't remember the outcome. I
was browsing some archived posts about Boost.Typeof and came across

Would that be enough? Usage would look like:

struct my_unit : ordinal<BOOST_UNITS_NEXT_ORDINAL>

Sorry if you guys have been over this ground before.

--Michael Fawcett

Boost list run by bdawes at, gregod at, cpdaniel at, john at