Boost logo

Boost :

Subject: Re: [boost] Review Request: QVM (generic Quaternion, Vector and Matrix operations library)
From: Sam Kellett (samkellett_at_[hidden])
Date: 2015-06-26 03:57:27


> On Thu, Jun 25, 2015 at 9:35 PM, Michael Marcin <mike.marcin_at_[hidden]>
> wrote:
>
> > I love swizzling although I dislike this particular syntax.
> >
>
> See http://zajo.github.io/boost-qvm/operator_mod_rationale.html.
> Basically,
> I can't think of a better alternative.
>

What about

v['x'] *= 42;
v['yxz'] = 42;

?


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