Search code examples
Why is sizeof( std::variant< char > ) == 8 when using libc++ and not 2 (like with MSVC's S...


c++c++17libc++std-variant

Read More
In C++, how to make a variant that can contain a vector of of same variant?...


c++vectorc++17self-referencestd-variant

Read More
how to return a specific type from a variant using a visitor?...


c++templatesc++17variadic-templatesstd-variant

Read More
What should I use instead of void as one of the alternative types in an variant?...


c++c++17variantmonostatestd-variant

Read More
How to compare std::variant of custom classes?...


c++stdstd-variant

Read More
How to make a map key to be of two different data types?...


c++stdtuplestd-variant

Read More
How to simplify std::variant class types...


c++c++17variantstd-variant

Read More
Why `std:variant`'s `operator=(T&& t)`'s noexcept spec doesn't depend on inner t...


c++variantnothrowstd-variant

Read More
BackNext