C++17
std::variant
for C++11/14/17
This directory contains the tests for MPark.Variant.
-
MPARK_VARIANT_EXCEPTIONS
:BOOL
(default:ON
)Build the tests with exceptions support.
Execute the following commands from the top-level directory:
mkdir build
cd build
cmake -DMPARK_VARIANT_INCLUDE_TESTS="mpark;libc++" ..
cmake --build .
ctest --output-on-failure