Может ли кто-нибудь объяснить мне, почему?
Код: Выделить всё
#include
class A {
public:
A operator[](int i) {
std::cout
Подробнее здесь: [url]https://stackoverflow.com/questions/79105503/issue-with-combining-c-property-with-operator[/url]Код: Выделить всё
#include
class A {
public:
A operator[](int i) {
std::cout
Подробнее здесь: [url]https://stackoverflow.com/questions/79105503/issue-with-combining-c-property-with-operator[/url]