EDIT: This question is not for overriding the operator []
I know how to do that
I have implemented My own collection class, and for assigning data I would like to provide the same operators/functions as std::vector
.
However, I have not been able to find a way to define the operators [index]=elm
and at(index) = elm
.
I am not even completely sure what to terms to search for as these two are not exactly operators