Jan 6, 2009

In the class define, if you do not want client to use member function which can be defined implicitly by compiler like operator=, you can explicitly d

In the class define, if you do not want client to use member function which can be defined implicitly by compiler like operator=, you can explicitly declare this member function as private and do not give a definition to it.

No comments:

Post a Comment