Boost logo

Boost :

From: Steven Watanabe (steven_at_[hidden])
Date: 2007-02-15 16:35:48


AMDG

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

>
> 1) The target unit may only have one instance of each tag (no
> repeated tags with different
> systems). Otherwise, the conversion becomes ambiguous.

If the source has only one instance of each tag
than it should be easy too.

>
> To do conversion, we'll have to pull out a list of all list elements
> having a given tag, then
> convert the ones not in the same system as the same tag in the target
> unit, then merge.
>
> Anyway, this is probably not interesting to anyone...don't mind my
> blathering...
>
> Matthias

A more sophisticated data structure might be
appropriate

dim<
    length_tag,
    mpl::list<
        mpl::pair<SI::system, static_rational<2> >,
        mpl::pair<CGS::system, static_rational<1> >
>
>

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