https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80390

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |redi at gcc dot gnu.org

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Created attachment 41235
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41235&action=edit
avoid over-aligned new in is_constructible

Daniel, does this seem like a reasonable simplification of
__is_direct_constructible? The idea is to declare an operator new for internal
use in unevaluated contexts, and then use that for the new-expression that
tests direct-constructibility. We can also combine it with the delete check,
because PR 51222 is fixed.

Reply via email to