Thread overview
[Issue 21603] Provide deprecation warning or error for placement new syntax
Feb 01, 2021
Kyle
Sep 29, 2021
Kyle
Dec 17, 2022
Iain Buclaw
February 01, 2021
https://issues.dlang.org/show_bug.cgi?id=21603

Kyle <kbcomm@protonmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |https://forum.dlang.org/thr
                   |                            |ead/ksccxhnooldzdtmbwlny@fo
                   |                            |rum.dlang.org
           Hardware|x86                         |x86_64
                 OS|Windows                     |Linux

--
September 29, 2021
https://issues.dlang.org/show_bug.cgi?id=21603

--- Comment #1 from Kyle <kbcomm@protonmail.com> ---
DMD 2.098.0 removes class allocators from the language - https://dlang.org/changelog/2.098.0.html#remove_alloc

Placement new syntax still triggers a "no allocator for 'CLASSNAME'" error. As far as I know there's no way to use placement new syntax without an allocator, so this should also be removed. I think it's worth noting that Andrei's book tells people they can use this syntax so a deprecation notice would be helpful.

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=21603

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P3

--