|
Boost : |
Subject: Re: [boost] [qvm] Terseness of syntax etc.
From: Dominique Devienne (ddevienne_at_[hidden])
Date: 2015-12-09 03:35:54
On Tue, Dec 8, 2015 at 10:13 PM, Emil Dotchevski <emil_at_[hidden]>
wrote:
> On Tue, Dec 8, 2015 at 11:07 AM, Francois Duranleau <
> xiao.bai.xiong_at_[hidden]> wrote:
> > [... ] I would shy away from the X, Y, Z (and combinations) [...]
> to avoid clashes with macros
>
> Swizzling is rendered nearly useless if it requires elaborate syntax or
> long names. Currently, if you want the Z and X swapped, you'd use (v,ZYX).
>
Again (and sorry for the bikeshedding), wouldn't (v,asZYX) or (v,toZYX) be
terse enough and a bit more expressive, while further limiting potential
conflicts with macros? --DD
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk