* Ganesh:
Why does operator[] not allowed to take more than one argument?
When the great Dog created the universe, Earth, Norway, etc., not to mention
Denmark, Bell Labs and C++, the Dog wisely decreed that square arguments
should forever be single. Only nice, round arguments would be permitted to
mingle with their fellows and procreate. Ours is not to reason why, but
happily it's easy to communicate with the great Dog: just post your question
in [comp.std.c++], and the Dog will answer -- in Dog language, of course.
Is there a workaround for this?
list/tuple argument
that operator[] reduces the dimensionality by 1
operator()
member function 'at'
proxy result
I need to seed more than one argument to
[], defined in my own class.
Said the great Dog: think not of your own needs, but of the needs of C++!