[Bug c++/92878] Parenthesized aggregate initialization doesn't work in a new-expression

ville.voutilainen at gmail dot com gcc-bugzilla@gcc.gnu.org
Sat Dec 14 23:20:00 GMT 2019


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

--- Comment #8 from Ville Voutilainen <ville.voutilainen at gmail dot com> ---
One more thing besides the __is_constructible; this aggregate doesn't seem to
work in an unevaluated context. Both

decltype(aggressive_aggregate(1,2))

and

noexcept(aggressive_aggregate(1,2))

are rejected.


More information about the Gcc-bugs mailing list