[SAoC] Move semantics and STL containers

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Thu Dec 19 23:16:23 UTC 2019


On Thursday, 19 December 2019 at 22:58:06 UTC, Ola Fosheim 
Grøstad wrote:
> So the D implementation should be similar, I think?

What I mean by this is that if you implement std::tuple in D, you 
only need to swap out the mangling to get pair, everything else 
should be the same.

(On the C++ side things like assignment does not work between 
pair and tuple, but the attribute names are not relevant for D, 
since D interface with the memory-object.)


More information about the Digitalmars-d mailing list