www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 21603] New: Provide deprecation warning or error for

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

          Issue ID: 21603
           Summary: Provide deprecation warning or error for placement new
                    syntax
           Product: D
           Version: D2
          Hardware: x86
                OS: Windows
            Status: NEW
          Severity: minor
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: kbcomm protonmail.com

Class allocators are deprecated. 'new(address) TYPE' syntax (placement new)
complains that a class allocator is needed but does not trigger a deprecation
notice itself. Disregard if 'new(address) TYPE' syntax is not actually
deprecated. https://forum.dlang.org/thread/ksccxhnooldzdtmbwlny forum.dlang.org

--
Feb 01 2021