Glossaria.net

Glossary C++ / Term

private

When preceding the name of a base class, the private keyword specifies that the public and protected members of the base class are private members of the derived class. Default access of members in a class is private. Default access of members in a structure or union is public.

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


< preprocessor directive Glossary / C++ protected >