Logical location of template instantiations
Jacob Carlborg via Digitalmars-d
digitalmars-d at puremagic.com
Fri Jul 1 07:03:32 PDT 2016
On 01/07/16 15:46, Andrei Alexandrescu wrote:
> emplace only works with accessible constructors. I understand sometimes
> it's reasonable to ask for more flexibility, but there are limitations.
It's possible to bypass the protection using a pointer. An alternative
would be to not invoke the constructor and let the users to that themselves.
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list