Logical location of template instantiations

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Fri Jul 1 06:46:56 PDT 2016


On 01/07/16 11:57, Lodovico Giaretta wrote:
> Ping...
>
> Maybe I'm just saying bullshit, but...
> Am I really the only one who faced this need?

You're not the only one, it's been brought up before. A 
solution/workaround is that "emplace" invokes the constructor using a 
function pointer, what will bypass the protection.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list