mirror of
https://github.com/AnthonyCalandra/modern-cpp-features.git
synced 2025-12-17 01:54:36 +03:00
Consistent title casing.
This commit is contained in:
4
CPP17.md
4
CPP17.md
@@ -244,13 +244,13 @@ struct S {};
|
||||
static_assert(isIntegral<S>() == 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 {};
|
||||
|
||||
Reference in New Issue
Block a user