What is a nested class in C++?

A nested class is a class that is declared in another class . The nested class is also a member variable of the enclosing class and has the same access rights as the other members. However, the member functions of the enclosing class have no special access to the members of a nested class.

Sizin İçin Seçtik  Does Visible support 5G?

Leave a Reply

Your email address will not be published. Required fields are marked *