Prefer "using" over "typedef"

This commit is contained in:
Antony Polukhin committed 2024-12-17 16:37:40 +03:00
1 parent 8a860e05d0
commit 35a71f0701
4 files changed
+8 -8

No files matched your search

+2 -2
View File
@@ -18,8 +18,8 @@ struct foo
operator long() const { return 0; }
};
typedef type<long> long_type;
typedef type<foo> foo_type;
using long_type = type<long>;
using foo_type = type<foo>;
int main()
{