Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in list-initialization

How should I brace-initialize an std::array of std::pairs?

How does the number of braces affect uniform initialization?

lifetime of a std::initializer_list return value

Does the equal sign make a difference in brace initialization? eg. 'T a = {}' vs 'T a{}'

Why does the standard differentiate between direct-list-initialization and copy-list-initialization?

Why does this code compile (C++11) without a type mismatch error?

Brace elision in std::array initialization

Why do Clang and VS2013 accept moving brace-initialized default arguments, but not GCC 4.8 or 4.9?

Has the C++17 extension to aggregate initialization made brace initialization dangerous?

Why can I not brace initialize a struct derived from another struct?

Deleted default constructor. Objects can still be created... sometimes

What does "return {}" statement mean in C++11?

Why is list initialization (using curly braces) better than the alternatives?