Ви ар спикинг фром аувер харт.

Quote Originally Posted by Eric C. View Post
Ok... then:
1.
2.
Agreed. Mea culpa.


3. It's generally recommended you define return types of such overloaded operators as "<class_name>&", ie:
Code:
idLang& operator ++(idLang &, int);
That allows you to avoid an unnecessary (and potentially expensive) call of the copy constructor.
Hmmm... Actually I meant that idLang is enum rather than class. Otherwise we should invent something very special for "Languages[Lang]".