www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 13157] New: Enable unaliased construction and conversion for

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 puremagic.com
          Reporter: ntrel-public 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.

--
Jul 18 2014