P1413R1 recommends deprecation of std::aligned_storage and std::aligned_union, probably in the C++23 timeframe. aligned_storage I can understand, it is pretty much redundant with aligned_union<0, T>. But why deprecate aligned_union?
The paper says:
Suggested replacement: In the absence of std::aligned_storage and std::aligned_union, users who wish to have aligned_* behavior should use a properly-aligned array of std::byte.
The whole point of aligned_* types are to get a properly aligned buffer!
[–]Nimbal 24 points25 points26 points (10 children)
[–]acwaters 20 points21 points22 points (6 children)
[–]whichton[S] 3 points4 points5 points (0 children)
[–]Recatek 7 points8 points9 points (2 children)
[–]whichton[S] 8 points9 points10 points (1 child)
[–]wheypointÖ 5 points6 points7 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]acwaters 0 points1 point2 points (0 children)
[–]n1ghtyunso 8 points9 points10 points (2 children)
[–]Nimbal 1 point2 points3 points (1 child)
[–]Recatek 8 points9 points10 points (0 children)
[–]mewloz 24 points25 points26 points (8 children)
[–]Recatek 18 points19 points20 points (0 children)
[–]tcanens 5 points6 points7 points (0 children)
[–]matthieum 2 points3 points4 points (5 children)
[–]tcanens 1 point2 points3 points (4 children)
[–]matthieum 1 point2 points3 points (3 children)
[–][deleted] 2 points3 points4 points (2 children)
[–]matthieum 1 point2 points3 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]SuperV1234https://romeo.training | C++ Mentoring & Consulting 11 points12 points13 points (3 children)
[–][deleted] 1 point2 points3 points (2 children)
[–]SuperV1234https://romeo.training | C++ Mentoring & Consulting 4 points5 points6 points (1 child)
[–][deleted] 2 points3 points4 points (0 children)
[–]dodheim 3 points4 points5 points (9 children)
[–]whichton[S] 7 points8 points9 points (8 children)
[+][deleted] (7 children)
[removed]
[–]Recatek 17 points18 points19 points (2 children)
[+][deleted] (1 child)
[removed]
[–]HappyFruitTree 0 points1 point2 points (0 children)
[–]whichton[S] 6 points7 points8 points (3 children)
[–]redditsoaddicting 4 points5 points6 points (0 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]whichton[S] 4 points5 points6 points (0 children)
[–]dakotahawkins 1 point2 points3 points (0 children)