digitalmars.D.learn - Shouldn't std.conv.emplace be nogc?
- drug (2/2) Mar 02 2015 I guess the reason why std.conv.emplace is not @nogc-ed is that nobody
- Tobias Pankrath (2/5) Mar 02 2015 It's a template and an instance will be @nogc, if possible.
- Adam D. Ruppe (3/3) Mar 02 2015 It should be automatically inferred. emplace might be used to
- Kapps (3/6) Mar 02 2015 Soon:
I guess the reason why std.conv.emplace is not nogc-ed is that nobody added it yet? I didn't see using of gc in the emplace sources.
Mar 02 2015
On Monday, 2 March 2015 at 12:37:33 UTC, drug wrote:I guess the reason why std.conv.emplace is not nogc-ed is that nobody added it yet? I didn't see using of gc in the emplace sources.It's a template and an instance will be nogc, if possible.
Mar 02 2015
It should be automatically inferred. emplace might be used to call constructors that use the GC and putting an explicit nogc on it forbids that, so it would limit the flexibility.
Mar 02 2015
On Monday, 2 March 2015 at 12:37:33 UTC, drug wrote:I guess the reason why std.conv.emplace is not nogc-ed is that nobody added it yet? I didn't see using of gc in the emplace sources.Soon: https://github.com/D-Programming-Language/phobos/pull/2999
Mar 02 2015