Constructors and member initializer lists
From cppreference.com
Constructors are non-static member functions declared with a special declarator syntax, they are used to initialize objects of their class types.
A constructor cannot be a coroutine. |
(since C++20) |
A constructor cannot have an explicit object parameter. |
(since C++23) |
Contents |