[Issue 14432] move construction for RefCounted
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Mon Apr 20 06:44:24 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=14432
--- Comment #1 from github-bugzilla at puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/phobos
https://github.com/D-Programming-Language/phobos/commit/a6a6870beb69537f2ccd3d50289594ebae30ad15
fix Issue 14432 - move construction for RefCounted
- add RefCounted!T.this(T) which takes an RValue or a copy
and use move to initialized the refcounted store
- add refCounted to infer T from the argument and disable
RefCounted's autoInit, also move initializes the store
https://github.com/D-Programming-Language/phobos/commit/f7498ad8ec147114b1bcbc61d0e4db3e033417f5
Merge pull request #3171 from MartinNowak/refCounted
fix Issue 14432 - move construction for RefCounted
--
More information about the Digitalmars-d-bugs
mailing list