Constructors and member initializer lists

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.

A constructor cannot have an explicit object parameter.

Contents