Talk:cpp/types/is aggregate
From cppreference.com
[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)