Glossaria.net

Glossary C++ / Term

constructor

A constructor is a special type of member function that initialises an object automatically when it is created. Compiler identifies a given member function is a constructor by its name and the return type.

Permanent link constructor - Modification date 2019-12-29 - Creation date 2019-12-29


< compiler Glossary / C++ cout >