Slicing AliasSeq-s

Shriramana Sharma via Digitalmars-d digitalmars-d at puremagic.com
Tue Dec 22 00:17:33 PST 2015


Adam D.  Ruppe wrote:

>  Look down to
> where it handles tuples (AliasSeq is the user-visible name for
> what the compiler internally calls a tuple).

Ouch. So even if the terminology gets abolished from Phobos, it's still 
lurking in the compiler?

> Slicing a tuple creates a new tuple that refers to the same
> objects as the previous one. So it doesn't deep copy... but
> remember this is irrelevant to any D program

I realize that but just wanted to know whether the word slicing is used in 
this context in the same sense as elsewhere.

-- 
Shriramana Sharma, Penguin #395953


More information about the Digitalmars-d mailing list