это компилят
https://en.cppreference.com/w/cpp/language/type_alias type-id - abstract declarator or any other valid type-id (which may introduce a new type, as noted in type-id). The type-id cannot directly or indirectly refer to identifier. Note that the point of declaration of the identifier is at the semicolon following type-id. Нет там ключевого слова struct, не упоминается
Обсуждают сегодня