1) You can eliminate the necessity of a copy constructor/assignment operator by using std::vector instead of a C-style array.
2) binary operators (i.e. operator+) should be implemented as non-member functions.
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 12 of 12
Thread: overloadThreaded View
|
Click Here to Expand Forum to Full Width |