[Issue 13157] New: Enable unaliased construction and conversion for std.typecons.Unique

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Jul 18 08:11:46 PDT 2014


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

          Issue ID: 13157
           Summary: Enable unaliased construction and conversion for
                    std.typecons.Unique
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: Phobos
          Assignee: nobody at puremagic.com
          Reporter: ntrel-public at yahoo.co.uk

Currently commented-out Unique code should be updated and tested to:

1. Enable unaliased construction of the unique resource by wrapping resource
constructor.
2. Enable transferring Unique!Derived rvalue to Unique!Base.

--


More information about the Digitalmars-d-bugs mailing list