[]运算符重载,返回数组索引的引用 int& MyArray::operator[](int index) { return this->pAddress[index]; }
c++ (运算符重载 && []运算符重载)
原文:https://www.cnblogs.com/lodger47/p/14694979.html