diff --git a/CPP11.md b/CPP11.md index b9bfd8c..ecc387a 100644 --- a/CPP11.md +++ b/CPP11.md @@ -13,7 +13,7 @@ C++11 includes the following new language features: - [auto](#auto) - [lambda expressions](#lambda-expressions) - [decltype](#decltype) -- [template aliases](#template-aliases) +- [type aliases](#type-aliases) - [nullptr](#nullptr) - [strongly-typed enums](#strongly-typed-enums) - [attributes](#attributes) @@ -243,8 +243,8 @@ add(1, 2.0); // `decltype(x + y)` => `decltype(3.0)` => `double` See also: `decltype(auto)` (C++14). -### Template aliases -Semantically similar to using a `typedef` however, template aliases with `using` are easier to read and are compatible with templates. +### Type aliases +Semantically similar to using a `typedef` however, type aliases with `using` are easier to read and are compatible with templates. ```c++ template using Vec = std::vector; diff --git a/README.md b/README.md index c82108a..a75470f 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ C++11 includes the following new language features: - [auto](#auto) - [lambda expressions](#lambda-expressions) - [decltype](#decltype) -- [template aliases](#template-aliases) +- [type aliases](#type-aliases) - [nullptr](#nullptr) - [strongly-typed enums](#strongly-typed-enums) - [attributes](#attributes) @@ -1054,8 +1054,8 @@ add(1, 2.0); // `decltype(x + y)` => `decltype(3.0)` => `double` See also: [`decltype(auto)`](#decltypeauto). -### Template aliases -Semantically similar to using a `typedef` however, template aliases with `using` are easier to read and are compatible with templates. +### Type aliases +Semantically similar to using a `typedef` however, type aliases with `using` are easier to read and are compatible with templates. ```c++ template using Vec = std::vector;