Skip to content

fix char32_t and char16_t section #143

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions CPP11.md
Original file line number Diff line number Diff line change
Expand Up @@ -692,10 +692,10 @@ void g() noexcept {
```

### char32_t and char16_t
Provides standard types for representing UTF-8 strings.
Provides standard types for representing UTF-32 and UTF-16 strings.
```c++
char32_t utf8_str[] = U"\u0123";
char16_t utf8_str[] = u"\u0123";
char32_t utf32_str[] = U"\u0123";
char16_t utf16_str[] = u"\u0123";
```

### Raw string literals
Expand Down