SpiceQA
Questions
Tags
Users
Badges
initializer-list
103 Questions
Newest
Active
Unanswered
Frequent
More
Score
View
Card
Compact
How to list-initialize an initializer_list from another initializer_list
user_19479518
0
•
asked Sep 16, 2022
3
1
64
direct-initialization
list-initialization
initializer-list
language-lawyer
c++
Why does std::initializer_list lack cbegin/cend/empty etc. methods?
user_19673483
0
•
asked Aug 30, 2022
2
0
98
initializer-list
language-design
c++11
c++
Can a template function taking class object instantiate that object with it's constructors arguments?
user_10254633
0
•
asked Aug 14, 2022
11
1
200
initializer-list
implicit-conversion
c++
Overload resolution of int vs std::vector<int> with an initializer list of a single int
user_1087626
0
•
asked Jul 29, 2022
3
1
73
overload-resolution
initializer-list
language-lawyer
overloading
c++
braced-initialization allows creation of temporary of a *private* struct
user_1919930
0
•
asked Jul 24, 2022
6
1
66
initializer-list
c++11
c++
initializer_list constructor somehow excluded from std::variant constructor overload set
user_11770390
0
•
asked Jul 20, 2022
2
1
47
initializer-list
c++17
variant
constructor-overloading
c++
Is storing initializer_lists undefined behaviour?
user_11770390
0
•
asked Jul 16, 2022
2
1
100
initializer-list
c++17
undefined-behavior
variant
c++
Recursive nested initializer list taking variant
user_11770390
0
•
asked Jun 28, 2022
2
2
75
braced-init-list
initializer-list
c++17
nested
c++
Why can I use curly brackets to initialize one enum class with a value from another enum class?
user_1132871
0
•
asked Jun 21, 2022
21
2
1347
initializer-list
enums
c++
Why does this bad universal initializer syntax compile and result in unpredictable behavior?
user_1007628
0
•
asked Jun 2, 2022
2
1
65
initializer-list
compilation
c++
1
(current)
2
3
4
5
Next
Next
Hot Questions