A type-safe
union
variant
reached a design consensus at the fall ISO C++ committee meeting in
Kona, HI, USA. While the design is still not final, this library is a reference
implementation of P0088R0.
Since this project uses git submodule
, specifying the --recursive
flag to
git clone
is recommended.
git clone --recursive [email protected]:mpark/variant.git
This library requires a standard conformant C++14 compiler.
Tested configurations:
- Ubuntu 14.04 Trusty:
GCC 5
,Clang 3.5+
- Mac OS X Yosemite:
Apple Clang
,Clang 3.5+