By "class members" can be understood all of this:
- data members
- member functions
- nested types
So, if you have this class:
class A
{
typedef std::string value_type;
value_type v;
int w;
void f();
struct B {};
};
the value_type, v, w, fand Bare members of the class A.
Nawaz source
share