__restrict, architecture intrinsics vs asm, consoles, and other

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Thu Sep 22 20:44:44 PDT 2011


On 9/22/11 9:11 PM, so wrote:
> On Fri, 23 Sep 2011 02:40:11 +0300, Andrei Alexandrescu
> <SeeWebsiteForEmail at erdani.org> wrote:
>
>> On 9/22/11 6:00 PM, so wrote:
>>> On Thu, 22 Sep 2011 17:07:25 +0300, Andrei Alexandrescu
>>> <SeeWebsiteForEmail at erdani.org> wrote:
>>>
>>>> I think we should put swizzle in std.numeric once and for all. Is
>>>> anyone interested in taking up that task?
>>>
>>> You mean some helper functions to be used in user structures?
>>
>> I was thinking of a template that takes and return T[n].
>>
>> Andrei
>
> Something like this?

Looks promising, though I was hoping to not need an additional struct V. 
But I'm not an expert.

Andrei


More information about the Digitalmars-d mailing list