Код: Выделить всё
class A {};
class B {
using A = A;
};
Код: Выделить всё
error: declaration of ‘using A = class A’ changes meaning of ‘A’ [-fpermissive]
4 | using A = A;
| ^
Подробнее здесь: https://stackoverflow.com/questions/664 ... -same-name
Мобильная версия