Код: Выделить всё
typedef struct tfecha {
int a;
bool operator==(const tfecha_t&) const = default;
} tfecha_t;
'tfecha_t' не называет тип
ошибка: член по умолчанию 'bool tfecha::operator==(const int&) const' должен иметь тип параметра 'const tfecha&'
Подробнее здесь: https://stackoverflow.com/questions/789 ... r-operator
Мобильная версия