diff --git a/CPP14.md b/CPP14.md index 3bad40e..352d953 100644 --- a/CPP14.md +++ b/CPP14.md @@ -137,7 +137,7 @@ constexpr int factorial(int n) { factorial(5); // == 120 ``` -### Variable Templates +### Variable templates C++14 allows variables to be templated: ```c++ diff --git a/CPP17.md b/CPP17.md index 8a483a6..fc32ec2 100644 --- a/CPP17.md +++ b/CPP17.md @@ -244,13 +244,13 @@ struct S {}; static_assert(isIntegral() == false); ``` -### UTF-8 Character Literals +### UTF-8 character literals A character literal that begins with `u8` is a character literal of type `char`. The value of a UTF-8 character literal is equal to its ISO 10646 code point value. ```c++ char x = u8'x'; ``` -### Direct List Initialization of Enums +### Direct list initialization of enums Enums can now be initialized using braced syntax. ```c++ enum byte : unsigned char {}; diff --git a/README.md b/README.md index e5a39f8..4fe7bd1 100644 --- a/README.md +++ b/README.md @@ -625,13 +625,13 @@ struct S {}; static_assert(isIntegral() == false); ``` -### UTF-8 Character Literals +### UTF-8 character literals A character literal that begins with `u8` is a character literal of type `char`. The value of a UTF-8 character literal is equal to its ISO 10646 code point value. ```c++ char x = u8'x'; ``` -### Direct List Initialization of Enums +### Direct list initialization of enums Enums can now be initialized using braced syntax. ```c++ enum byte : unsigned char {}; @@ -975,7 +975,7 @@ constexpr int factorial(int n) { factorial(5); // == 120 ``` -### Variable Templates +### Variable templates C++14 allows variables to be templated: ```c++