Questions
Linux
Laravel
Mysql
Ubuntu
Git
Menu
HTML
CSS
JAVASCRIPT
SQL
PYTHON
PHP
BOOTSTRAP
JAVA
JQUERY
R
React
Kotlin
×
Linux
Laravel
Mysql
Ubuntu
Git
New posts in std-variant
Predefined type list passed to a std::variant
Dec 20, 2022
c++
templates
c++17
typelist
std-variant
Assignment operator of std::variant of custom type with deleted special member functions?
Oct 17, 2022
c++
language-lawyer
c++20
assignment-operator
std-variant
StateMachine with std::variant, getting the custom template deduction right
Sep 12, 2022
c++17
std-variant
Is there any practical reason why std::get_if (std::variant) takes a variant argument by pointer instead of by value/&/const&?
Jul 21, 2022
c++
c++17
pass-by-reference
std-variant
pass-by-pointer
get currently held typeid of std::variant (like boost::variant type())
May 23, 2022
c++
boost
typeid
std-variant
How can classes with `std::variant` members be copied safely?
Apr 03, 2022
c++
c++17
std-variant
Why does clang handle exceptions for this trivial std::variant code?
Mar 25, 2022
c++
gcc
clang
c++17
std-variant
Can I make lambdas deduce the variant return type?
Mar 12, 2022
c++
lambda
c++20
std-variant
Compare std::variant with int using C++20 <=> is not a constant expression
Aug 26, 2022
c++
c++17
c++20
std-variant
Is there boost::visit like std::visit, for boost::variant?
Sep 12, 2022
c++
boost
c++14
boost-variant
std-variant
What is the best way to disable implicit conversion from pointer types to bool when constructing an std::variant?
Mar 20, 2022
c++
visual-studio
std-variant
Why do std::variant implementations take more than 1 byte for variant of empty types?
Aug 20, 2022
c++
c++20
std-variant
What should I use instead of void as one of the alternative types in an variant?
Sep 20, 2021
c++
c++17
variant
monostate
std-variant
In C++, how to make a variant that can contain a vector of of same variant?
Sep 14, 2022
c++
vector
c++17
self-reference
std-variant
std::bind to a std::variant containing multiple std::function types
Oct 15, 2022
c++
c++17
std-function
std-variant
Why isn't std::variant allowed to equal compare with one of its alternative types?
Mar 14, 2022
c++
c++17
std-variant
std::variant behaves differently in MSVC and gcc
Sep 16, 2022
c++
std-variant
How is std::optional never "valueless by exception"?
Dec 11, 2019
c++
c++17
stdoptional
std-variant
Split a given std::variant type by a given criteria
Sep 11, 2022
c++
c++17
std-variant
`std::variant` vs. inheritance vs. other ways (performance)
Mar 05, 2022
c++
performance
inheritance
c++17
std-variant