Search code examples
How to use default member initializer if `std::initializer_list` ctor exists in C++11?...


c++c++11initializer-listlist-initializationmost-vexing-parse

Read More
How to convert a copy initialization into a direct list initialization in clang-tidy check?...


c++clangabstract-syntax-treeclang-tidylist-initialization

Read More
Reference initialization using list initialization accepted by gcc and msvc but rejected by clang...


c++initializationlanguage-lawyerlist-initializationreference-initialization

Read More
Copy-list-initialization from empty braces with explicit default constructor...


c++language-lawyerlist-initialization

Read More
Aggregate Initialization when initialization values is fewer than the number of members...


c++c++11list-initializationaggregate-initialization

Read More
lifetime of a std::initializer_list return value...


c++c++11initializer-listlifetimelist-initialization

Read More
std::vector init with braces call copy constructor twice...


c++stdvectorcurly-braceslist-initialization

Read More
Non-uniform byte initialization...


c++enumslist-initializationuniform-initializationstd-byte

Read More
Can you use a braced-init-list as a (default) template argument?...


c++language-lawyerlist-initializationc++-templatesbraced-init-list

Read More
List-initialization of vector of pairs...


c++c++11stdvectorstd-pairlist-initialization

Read More
c++ vector = {vec1.begin, vec1.begin} returns empty vector...


c++iteratorstdvectorlist-initialization

Read More
How to initialize an array member in a member initializer list...


c++c++11list-initializationaggregate-initializationctor-initializer

Read More
What do braces on the left-hand side of a variable declaration mean, such as in T {x} = y?...


c++syntaxinitializationlist-initializationtemporary-objects

Read More
Initializing std::tuple from initializer list...


c++c++11stdtuplelist-initializationstdinitializerlist

Read More
Why is the std::initializer_list constructor preferred when using a braced initializer list?...


c++c++11constructorlanguage-lawyerlist-initialization

Read More
Why is std::make_unique not implemented using list initialization?...


c++c++14unique-ptrlanguage-designlist-initialization

Read More
Constructing a vector of structs (with some custom constructors) from exactly two string literals cr...


c++vectoroverload-resolutionlist-initialization

Read More
What are the advantages of list initialization (using curly braces)?...


c++c++11syntaxinitializationlist-initialization

Read More
perfect forwarding with brace enclosed initialiser list...


c++perfect-forwardinglist-initialization

Read More
Aggregate initialization with nested map doesn't work expectedly...


c++dictionarystdmaplist-initializationaggregate-initialization

Read More
how to understand list initialization in C++ when use it to construct class object?...


c++constructorlist-initialization

Read More
from '<brace-enclosed initializer list>' to X: understanding list initialization in co...


c++std-pairlist-initializationstdinitializerlistbraced-init-list

Read More
GCC fails to select the expected overloaded operator=() when using an empty initializer list...


c++gccoperator-overloadinglanguage-lawyerlist-initialization

Read More
Why does list-Initialized object using default constructor compile in gcc9 but not in gcc5.1?...


c++g++list-initialization

Read More
Why ={} initialization doesn't work for tuple?...


c++c++11tuplesinitializer-listlist-initialization

Read More
Function was put into a curly bracket in order to initialize the member in class. What is its syntax...


c++curly-braceslist-initializationin-class-initialization

Read More
Does value-initialization use the implicit default constructor?...


c++constructorc++17aggregatelist-initialization

Read More
How to list-initialize an initializer_list from another initializer_list...


c++language-lawyerinitializer-listlist-initializationdirect-initialization

Read More
Is there any way to append initializer list --> std::initializer_list<std::pair<std::string...


c++appendinitializer-listlist-initialization

Read More
Direct initialization with prvalue: Bug in MSVC?...


c++c++17list-initializationprvaluedirect-initialization

Read More
BackNext