Namespaces
Variants
Views
Actions

Talk:cpp/types/is aggregate

From cppreference.com
< Talk:cpp‎ | types
Revision as of 16:58, 11 June 2024 by Space Mission (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

[edit] aligned_union / aligned_union_t are deprecated in 2023

...so default compiler (GCC 13.1 for C++23) issues warnings. Perhaps changing the example?

ticotico (talk) 15:45, 1 June 2024 (PDT)

Hi, there.
There is the proposal P1413R3 - Deprecate std::aligned_storage and std::aligned_union (2021-11) that gives the rationale for this deprecation. So, good point, the example has been updated. --Space Mission (talk) 17:58, 11 June 2024 (PDT)