it is a class defined in the scope of a function


It is a class defined in the scope of a function _ any function, whether a member functions or a free function. For instance:

// Example : Local class

//

int f()

{

class LocalClass

{

// ...

};

// ...

};

Such as nested classes, local classes may be a useful tool for managing code dependencies.

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: it is a class defined in the scope of a function
Reference No:- TGS0211599

Expected delivery within 24 Hours