Boost logo

Boost :

From: Steven Watanabe (steven_at_[hidden])
Date: 2007-02-19 18:29:43


AMDG

Matthias Schabel <boost <at> schabel-family.org> writes:

>
> There seems to be a problem with this, actually : what if I want
> replicate
> tags in different systems?
>
> typedef heterogeneous_system<
> mpl::map<
> mpl::pair<length_tag,SI::system>,
> mpl::pair<length_tag,CGS::system> > >
>
> Then the mpl::at becomes a problem, I believe...
>

For this case we need to make the system store
basically all the information that we were putting
into the dimension list. I think this solution to be
better because overloading by dimension is
easy and the extra work would probably have to
be done anyway.

In Christ,
Steven Watanabe


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