|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2004-11-15 14:29:50
"Andy Little" <andy_at_[hidden]> writes:
> "Andy Little" <andy_at_[hidden]> wrote
>
>
>> tx_matrix<units> t = make_matrix(
>> translation = xy_pair<units>(units(1),units(1)),
>> rotation = angle::rad(1),
>> scaling = .5
>> );
>
> Of course The order of the paramaters in the above example is important,
> hence rendering the named parameters library unsuitable for this particular
> purpose.
>
> Apologies for that example
Well, it brings up an interesting point; maybe some sort of visitation
interface that could explore all parameters in order would be
appropriate.
-- Dave Abrahams Boost Consulting http://www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk