Skip to content

Commit 45e619b

Browse files
committed
fix(char_traits/eof): UTF16についてはコードポイントではなく文字単位と規格にはある
1 parent 31d38c5 commit 45e619b

File tree

1 file changed

+1
-0
lines changed
  • reference/string/char_traits

1 file changed

+1
-0
lines changed

reference/string/char_traits/eof.md

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ static constexpr int_type eof() noexcept; // C++11
2020

2121
- `char`: 定数値`EOF`を返す。
2222
- `char8_t`: UTF-8の文字単位として有効な、実装定義のEOFを表す定数値を返す。
23+
- `char16_t`: UTF-16の文字単位として有効な、実装定義のEOFを表す定数値を返す。
2324
- `char32_t`: Unicodeコードポイントとしての、実装定義のEOFを表す定数値を返す。
2425
- `wchar_t`: 定数値`WEOF`を返す。
2526

0 commit comments

Comments
 (0)