
Constructors and member initializer lists - cppreference.com - C++ ...
Delegating constructor If the name of the class itself appears as class-or-identifier in the member initializer list, then the list must consist of that one member initializer only; such a constructor is …
Default constructors - cppreference.com - C++ Reference
Default constructors are called during default initializations and value initializations. Implicitly-declared default constructor If there is no user-declared constructor or constructor template for a class type, …
Copy constructors - cppreference.com - C++ Reference
A copy constructor is a constructor which can be called with an argument of the same class type and copies the content of the argument without mutating the argument.
Default-initialization - cppreference.com - C++ Reference
The constructor selected (which is one of the default constructors) is called to provide the initial value for the new object; if T is an array type, every element of the array is default-initialized; otherwise, no …
C++ language - cppreference.com - C++ Reference
This is a reference of the core C++ language constructs.
Converting constructor - cppreference.com - C++ Reference
It is said that a converting constructor specifies an implicit conversion from the types of its arguments (if any) to the type of its class. Note that non-explicit user-defined conversion function also specifies an …
Classes - cppreference.com - C++ Reference
Properties of classes ... Implicit-lifetime class An implicit-lifetime class is a class that is an aggregate whose destructor is not user-declared(until C++11) user-provided (since C++11), or has at least one …
class property specifiers (since C++26) - cppreference.com - C
Syntax Class property specifiers appear at the beginning of the class definition, immediately after the name of the class, and cannot appear in a class declaration.
std::list<T,Allocator>::list - cppreference.com - C++ Reference
1) The default constructor since C++11. Constructs an empty list with a default-constructed allocator. If Allocator is not DefaultConstructible, the behavior is undefined. 2) The default constructor until …
Initialization - cppreference.com - C++ Reference
Initialization of a variable provides its initial value at the time of construction. The initial value may be provided in the initializer section of a declarator or a new expression. It also takes place during …