Finally introduced a converting constructor for C++11 in my take of (nonstd) variant with its idiosyncratic typelist to support C++98.
Hope to release v3.0.0 'really soon'.
Back to the future or something :)
Finally introduced a converting constructor for C++11 in my take of (nonstd) variant with its idiosyncratic typelist to support C++98.
Hope to release v3.0.0 'really soon'.
Back to the future or something :)
variant lite - A C++17-like variant, a type-safe union for C++98, C++11 and later in a single-file header-only library. - martinmoene/variant-lite