now if i have to access group elements through operator then i suppose that i should use syntax like ...
(because if i overload an operator then....we use syntax like....AoperatorB
or operator A B..where A and B are the operands)
but in the above case g[i] also works(other than gi
Overloading operator is meant to give the same access syntax like normal arrays.
You can do
Last edited on