Код: Выделить всё
typedef
Спецификация C++14 указывает, что это должно быть очень просто:
Код: Выделить всё
[[deprecated]] typedef AliasName RealName;
Код: Выделить всё
#include
#include
class Foo
{
public:
Foo(std::string const & name) : _name(name) {}
~Foo() {}
std::string _name;
};
std::ostream &
operator
Подробнее здесь: [url]https://stackoverflow.com/questions/79178968/deprecation-of-typedef-does-not-work-on-gcc-and-msvc-does-on-apple-clang-when[/url]