This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of NAD status.
Section: 220.127.116.11 [meta.trans.other] Status: NAD Submitter: Alisdair Meredith Opened: 2009-03-11 Last modified: 2016-02-10
Priority: Not Prioritized
View other active issues in [meta.trans.other].
View all other issues in [meta.trans.other].
View all issues with NAD status.
Addresses UK 204 [CD1]
It is not possible to create a variant union based on a parameter pack expansion, e.g. to implement a classic discriminated union template.
Original proposed resolutuion:
Restore aligned_union template that was removed by LWG issue 856.
[ Summit: ]
Agree. The need for aligned_union is compelling enough to reinstate.
[ Post Summit, Alisdair adds: ]
Paper N2843 proposes an extension to the [[align]] attribute that further diminishes the need for this template. Recommend NAD.
[ 2009-10 Santa Cruz: ]
Mark NAD as suggested.