Expression template

Etranger via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Jul 26 03:37:17 PDT 2016


On Saturday, 23 July 2016 at 23:55:44 UTC, ag0aep6g wrote:
> On 07/23/2016 01:05 PM, Etranger wrote:
>> [...]
>
> To avoid the string mixin, you can let VecExpression take an 
> alias of the mixin template (Vec_impl/VecSum_impl) and the list 
> of arguments:
>
> [...]

Thanks ! that's way much cleaner and the type strictness loss is 
not a problem since it is what I want.


More information about the Digitalmars-d-learn mailing list