[Issue 15313] std.conv.emplace cannot initialize const objects

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Nov 10 13:16:55 PST 2015


https://issues.dlang.org/show_bug.cgi?id=15313

ZombineDev <petar.p.kirov at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |petar.p.kirov at gmail.com

--- Comment #1 from ZombineDev <petar.p.kirov at gmail.com> ---
Andrei, I think you meant to write:
const Node* n = emplace!(const Node)(buf, 42, null, 10);

--


More information about the Digitalmars-d-bugs mailing list