diff options
author | Abseil Team <absl-team@google.com> | 2018-06-20 06:25:23 -0700 |
---|---|---|
committer | Shaindel Schwartz <shaindel@google.com> | 2018-06-20 10:15:31 -0400 |
commit | 6c7de165d1c82684359ccb630bb5f83263fa5ebc (patch) | |
tree | f271bc0005ad42773cc0140100699b8bfbaea124 /absl/strings/numbers.h | |
parent | e5be80532b5d998813f9db952d2cc5401b1532df (diff) |
Project import generated by Copybara.20180600
GitOrigin-RevId: d89dba27e35462d7457121b978fd79214205e686
Change-Id: I0eae80578a93a580820bc90d42e6b42faf7fde0a
Diffstat (limited to 'absl/strings/numbers.h')
-rw-r--r-- | absl/strings/numbers.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/absl/strings/numbers.h b/absl/strings/numbers.h index cf3c5972..8efdb200 100644 --- a/absl/strings/numbers.h +++ b/absl/strings/numbers.h @@ -38,6 +38,7 @@ #include "absl/strings/string_view.h" namespace absl { +inline namespace lts_2018_06_20 { // SimpleAtoi() // @@ -72,11 +73,13 @@ ABSL_MUST_USE_RESULT bool SimpleAtod(absl::string_view str, double* value); // are interpreted as boolean `false`: "false", "f", "no", "n", "0". ABSL_MUST_USE_RESULT bool SimpleAtob(absl::string_view str, bool* value); +} // inline namespace lts_2018_06_20 } // namespace absl // End of public API. Implementation details follow. namespace absl { +inline namespace lts_2018_06_20 { namespace numbers_internal { // safe_strto?() functions for implementing SimpleAtoi() @@ -179,6 +182,7 @@ ABSL_MUST_USE_RESULT bool SimpleAtoi(absl::string_view s, int_type* out) { return numbers_internal::safe_strtoi_base(s, out, 10); } +} // inline namespace lts_2018_06_20 } // namespace absl #endif // ABSL_STRINGS_NUMBERS_H_ |