diff options
Diffstat (limited to 'absl/strings/charconv.h')
-rw-r--r-- | absl/strings/charconv.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/absl/strings/charconv.h b/absl/strings/charconv.h index fe2dee37..160306e6 100644 --- a/absl/strings/charconv.h +++ b/absl/strings/charconv.h @@ -18,12 +18,12 @@ #include <system_error> // NOLINT(build/c++11) namespace absl { -inline namespace lts_2018_06_20 { +inline namespace lts_2018_12_18 { // Workalike compatibilty version of std::chars_format from C++17. // // This is an bitfield enumerator which can be passed to absl::from_chars to -// configure the std::string-to-float conversion. +// configure the string-to-float conversion. enum class chars_format { scientific = 1, fixed = 2, @@ -31,7 +31,7 @@ enum class chars_format { general = fixed | scientific, }; -// The return result of a std::string-to-number conversion. +// The return result of a string-to-number conversion. // // `ec` will be set to `invalid_argument` if a well-formed number was not found // at the start of the input range, `result_out_of_range` if a well-formed @@ -68,7 +68,7 @@ struct from_chars_result { // 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 // `scientific`, a matching number must contain an exponent. If set to `fixed`, -// then an exponent will never match. (For example, the std::string "1e5" will be +// then an exponent will never match. (For example, the string "1e5" will be // parsed as "1".) If set to `hex`, then a hexadecimal float is parsed in the // format that strtod() accepts, except that a "0x" prefix is NOT matched. // (In particular, in `hex` mode, the input "0xff" results in the largest @@ -111,7 +111,7 @@ inline chars_format& operator^=(chars_format& lhs, chars_format rhs) { return lhs; } -} // inline namespace lts_2018_06_20 +} // inline namespace lts_2018_12_18 } // namespace absl #endif // ABSL_STRINGS_CHARCONV_H_ |