Namespaces
Variants
Views
Actions

Talk:cpp/types/aligned union

From cppreference.com

This feature has been removed by defect #856. The solution is in the extended union types of C++11 N2544. GCC 4.9.2 respected the removal and does not contain any traces of aligned_union nor aligned_union_t. 197.39.188.26 22:28, 2 April 2015 (PDT) Mohammad N. Alaggan

No, it wasn't removed. Not every defect report becomes part of the standard. std::aligned_union is part of C++11, C++14, and the current working draft of C++17 (n4296). gcc 4.9.2 predates C++11 support in the library (that came in 5.0), gcc's current implementation can be found here, in type_traits, checked in on 2014-06-02 --Cubbi (talk) 03:40, 3 April 2015 (PDT)