forked from boostorg/conversion
Prefer "using" over "typedef"
This commit is contained in:
1 parent
8a860e05d0
commit
35a71f0701
4 files changed
+8
-8
No files matched your search
@@ -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()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user