Small Buffer Optimization for string and friends

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Sun Apr 8 08:01:25 PDT 2012


On 4/8/12 8:54 AM, H. S. Teoh wrote:
> - Qualified keys not fully working: the current code has a few corner
>    cases that don't work with shared/immutable/inout keys. One major
>    roadblock is how to implement this:
>
> 	alias someType T;
> 	inout(T) myFunc(inout(T) arg, ...) {
> 		int[inout(T)] aa;
> 		...
> 	}

I wonder how frequently such code is used.

Andrei




More information about the Digitalmars-d mailing list