www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15494] New: moveEmplaceAll should support const?


          Issue ID: 15494
           Summary: moveEmplaceAll should support const?
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Windows
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: turkeyman gmail.com

I feel like moveEmplaceAll(src, target), where target is an uninitialised range
of const(T) should work?

It seems that it only works if target is mutable. const objects must be
initialised somehow, and this function seems like a reasonable form of

Lift this restriction?

Jan 01 2016