This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of CD1 status.

856. Removal of aligned_union

Section: 21.3.8.7 [meta.trans.other] Status: CD1 Submitter: Jens Maurer Opened: 2008-06-12 Last modified: 2016-01-28

Priority: Not Prioritized

View all other issues in [meta.trans.other].

View all issues with CD1 status.

Discussion:

With the arrival of extended unions (N2544), there is no known use of aligned_union that couldn't be handled by the "extended unions" core-language facility.

Proposed resolution:

Remove the following signature from 21.3.3 [meta.type.synop]:

template <std::size_t Len, class... Types> struct aligned_union;

Remove the second row from table 51 in 21.3.8.7 [meta.trans.other], starting with:

template <std::size_t Len,
class... Types>
struct aligned_union;