Search code examples
C++ compiler error: use of deleted function std::variant()...

c++compiler-errorsoption-typevariantstd-variant

Read More
How is it possible to unite multiple types in the operator function called by std::visit in C++?...

c++operator-overloadingstd-variant

Read More
How to filter out elements of certain data types in a vector of std::variant?...

c++c++17stdvectorstdsetstd-variant

Read More
Extract a c++ variant type from a list of type names...

c++templatesc++17std-variant

Read More
Observing the state of a variant during construction...

c++std-variant

Read More
Why do std::variant implementations take more than 1 byte for variant of empty types?...

c++c++20std-variant

Read More
Assignment operator of std::variant of custom type with deleted special member functions?...

c++language-lawyerc++20assignment-operatorstd-variant

Read More
Call std::visit with passed lambdas...

c++c++17std-variant

Read More
Can't call function with variant parameter using initializer_list...

c++initializer-liststd-variant

Read More
std::map with values of different function-types...

c++c++20stdmapvariantstd-variant

Read More
Why does assigning an int to a std::variant<long int, ...> fail?...

c++c++17std-variant

Read More
How to use TEMPLATE_TEST_CASE with pairs of types?...

c++templatesc++17catch2std-variant

Read More
C++ - Stream/cout for a variant of the form <int, pair<char,char>>...

c++streamc++17coutstd-variant

Read More
is there a way to use std::variant with arbitrarily many defined types?...

c++templatesstd-variant

Read More
dealing with variants containing move-only types...

c++c++17std-variant

Read More
return value from possible type in std::variant through std::visit...

c++c++17std-variant

Read More
How to wrap C++17 std::variant with SWIG for use in python?...

c++python-3.xc++17swigstd-variant

Read More
Unordered map vs map...

c++dictionaryc++17unordered-mapstd-variant

Read More
Compile error when using std::variant with gmock 1.8 object...

c++c++17googlemockstd-variant

Read More
StateMachine with std::variant, getting the custom template deduction right...

c++17std-variant

Read More
define a function to return specified type of std::variant c++...

c++c++17variantstd-variant

Read More
Expressing a Python class as a type in std::variant in C++ using pybind11...

pythonc++pybind11std-variant

Read More
Overriding std::variant::operator==...

c++c++17argument-dependent-lookupstd-variant

Read More
g++ std::variant seems can't support user class with std::atomic/std::mutex variable member (wit...

c++c++17stdatomicstd-variant

Read More
Why std::unique_ptr isn't optimized while std::variant can?...

c++compiler-optimizationunique-ptrstd-variant

Read More
How can classes with `std::variant` members be copied safely?...

c++c++17std-variant

Read More
What is the best way to disable implicit conversion from pointer types to bool when constructing an ...

c++visual-studiostd-variant

Read More
Default-construct all the types in a std::variant and put them in a std::vector...

c++templatesc++17template-meta-programmingstd-variant

Read More
Compare std::variant with int using C++20 <=> is not a constant expression...

c++c++17c++20std-variant

Read More
Provide a operator== for std::variant...

c++operator-overloadingc++17stdmapstd-variant

Read More
BackNext