[SG10] Feature Test Macro for destroying operator delete?

Ville Voutilainen ville.voutilainen at gmail.com
Fri Aug 3 20:45:26 CEST 2018


On 3 August 2018 at 21:23, Chris Kennelly <ckennelly at google.com> wrote:
> P0722, adopted at Rapperswil, added destroying operator delete.  Would it be
> possible to provide a feature test macro for its availability?

..presumably so that you can declare such an operator only if the
macro is defined, so as to
avoid otherwise ill-formed code because std::destroying_delete_t
wouldn't be available?

Makes sense to me.


More information about the Features mailing list