rvalue references
bitwise via Digitalmars-d
digitalmars-d at puremagic.com
Tue Jun 9 07:32:08 PDT 2015
On Tue, 09 Jun 2015 08:26:46 -0400, kink <noone at nowhere.com> wrote:
> On Monday, 8 June 2015 at 20:16:13 UTC, bitwise wrote:
>> static Mat4 transform()(const auto ref Vec3 pos, const auto ref Vec3
>> scale, const auto ref Quat rot);
>
> Horrific.
>
> static Mat4 transform(in Vec3 pos, in Vec3 scale, in Quat rot);
>
> would be so much better...
How do you figure?
Bit
More information about the Digitalmars-d
mailing list