|
Re: operator overloading
Quote:
Originally Posted by Generic User #2
i was wondering about the array subscript operator in particular("[]"), is there a limit to how many arguments can be passed through it?
|
T operator [] (int i) const;
i think it can only be overloaded with one argument
__________________
-------------------------------------------------------------------------
I thought what I'd Do was, I'd pretend to be one of those deaf mutes
------------------------------------------------------------------------
Last edited by JD-Salinger; May 9th, 2008 at 12:09 AM.
Reason: wrong answer
|