From af7125a698913c87436e91f3288bc57b4eacc9b5 Mon Sep 17 00:00:00 2001 From: Azam Bham <44165939+ABham2997@users.noreply.github.com> Date: Sat, 21 Sep 2019 21:30:04 +0100 Subject: [PATCH] "Template aliases" have been renamed to "Type aliases" in CPP11.md and README.md files (#60) * "template aliases" have been renamed to "type aliases". --- CPP11.md | 6 +++--- README.md | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) 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;