
Originally Posted by
it-ogo
const LanClass operator[](idLang)
That fits here as well. Right. (but again, consider using "const LanClass& operator[](const idLang&)")
What I meant was something like
Code:
class idLang
{
//...
public:
operator int();
};