SpiceQA
Questions
Tags
Users
Badges
std-variant
44 Questions
Newest
Active
Unanswered
Frequent
More
Score
View
Card
Compact
g++ std::variant seems can't support user class with std::atomic/std::mutex variable member (with detail/code)
user_14492198
0
•
asked Nov 23, 2020
3
1
193
stdatomic
std-variant
c++17
c++
How can classes with `std::variant` members be copied safely?
user_14420759
0
•
asked Oct 10, 2020
6
3
1304
std-variant
c++17
c++
What is the best way to disable implicit conversion from pointer types to bool when constructing an std::variant?
user_1413244
0
•
asked Oct 7, 2020
9
2
600
std-variant
visual-studio
c++
How can I code something like a switch for std::variant?
user_12268584
0
•
asked Aug 19, 2020
21
4
5679
std-variant
c++17
c++
Compare std::variant with int using C++20 <=> is not a constant expression
user_11638718
0
•
asked Aug 6, 2020
8
1
306
std-variant
c++20
c++17
c++
Use of emplace function of std::variant in template
user_9143096
0
•
asked Jul 9, 2020
2
2
1014
emplace
std-variant
c++17
templates
c++
Why does clang handle exceptions for this trivial std::variant code?
user_964080
0
•
asked Jun 16, 2020
7
1
138
std-variant
c++17
clang
gcc
c++
How do you make the use of std::variants more "palatable", syntax-wise?
user_1593077
0
•
asked Jun 12, 2020
2
2
182
std-variant
c++17
idioms
syntactic-sugar
c++
Why can't std::variant find operator<() when not in same namespace as compared classes
user_8359552
0
•
asked May 12, 2020
2
1
151
std-variant
c++17
c++
std::visit a std::variant with overloaded free-function instead of function-object
user_1827360
0
•
asked Mar 10, 2020
2
2
1343
stdapply
non-member-functions
std-variant
c++17
c++
Prev
Prev
1
2
3
4
(current)
5
Next
Next
Hot Questions