From d4af654d971cc46cde6213269a364cdf170fe0ce Mon Sep 17 00:00:00 2001 From: Markus Dreseler Date: Wed, 22 Sep 2021 21:58:42 +0200 Subject: Update from_chars documentation with regard to whitespace (#1020) --- absl/strings/charconv.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'absl/strings/charconv.h') diff --git a/absl/strings/charconv.h b/absl/strings/charconv.h index e04be32f..7c509812 100644 --- a/absl/strings/charconv.h +++ b/absl/strings/charconv.h @@ -64,8 +64,9 @@ struct from_chars_result { // the result in `value`. // // The matching pattern format is almost the same as that of strtod(), except -// that C locale is not respected, and an initial '+' character in the input -// range will never be matched. +// that (1) C locale is not respected, (2) an initial '+' character in the +// input range will never be matched, and (3) leading whitespaces are not +// ignored. // // If `fmt` is set, it must be one of the enumerator values of the chars_format. // (This is despite the fact that chars_format is a bitmask type.) If set to -- cgit v1.2.3