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