"Value class instance" pattern?

Kagamin spam at here.lot
Sat Jul 13 11:33:57 PDT 2013


On Saturday, 13 July 2013 at 17:48:40 UTC, bearophile wrote:
> Kagamin:
>
>> emplace?
>
> Can you show a little compilable program that solves my problem 
> using emplace?

Do you want just to construct unique instances of Foo in each Bar 
or you want to copy Foo by value like in C++?


More information about the Digitalmars-d mailing list