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

Reply via email to