Skip to content

Commit d4af654

Browse files
authored
Update from_chars documentation with regard to whitespace (#1020)
1 parent 29f8307 commit d4af654

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

absl/strings/charconv.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,9 @@ struct from_chars_result {
6464
// the result in `value`.
6565
//
6666
// The matching pattern format is almost the same as that of strtod(), except
67-
// that C locale is not respected, and an initial '+' character in the input
68-
// range will never be matched.
67+
// that (1) C locale is not respected, (2) an initial '+' character in the
68+
// input range will never be matched, and (3) leading whitespaces are not
69+
// ignored.
6970
//
7071
// If `fmt` is set, it must be one of the enumerator values of the chars_format.
7172
// (This is despite the fact that chars_format is a bitmask type.) If set to

0 commit comments

Comments
 (0)