G
gerg
for a class such as:
class A
{
public:
A();
///// leave everything missing for purpose of example
public: /// member vars
wchar* szString; // set to NULL
someobj* pObj; // set to NULL on default constructor
};
what would the minimum member functions you would want to implement for
a list such as?:
std::list<A> A_List;
I would expect: =, A(const A&), A() and ~A().
I hope this question is plain enough.
class A
{
public:
A();
///// leave everything missing for purpose of example
public: /// member vars
wchar* szString; // set to NULL
someobj* pObj; // set to NULL on default constructor
};
what would the minimum member functions you would want to implement for
a list such as?:
std::list<A> A_List;
I would expect: =, A(const A&), A() and ~A().
I hope this question is plain enough.