summaryrefslogtreecommitdiff
path: root/absl/numeric
diff options
context:
space:
mode:
authorGravatar Abseil Team <absl-team@google.com>2017-11-20 13:53:50 -0800
committerGravatar Ashley Hedberg <ahedberg@google.com>2017-11-20 17:48:02 -0500
commit6a88b407715315e99b372baa82a01f26608091dc (patch)
tree2c752e84f53ce9532893f2aff14ccce209d2616e /absl/numeric
parent4f3edeb1b4cc3d6e1d26eff6706fd3006961b9ed (diff)
Changes imported from Abseil "staging" branch:
- cdaf98233a24b0ea992224e4cca526c72c8c2079 Qualify documented code examples with absl namespace. by Alex Strelnikov <strel@google.com> GitOrigin-RevId: cdaf98233a24b0ea992224e4cca526c72c8c2079 Change-Id: I8b53dc15adc041cd2ce40ed7ffafc148d38a4912
Diffstat (limited to 'absl/numeric')
-rw-r--r--absl/numeric/int128.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/absl/numeric/int128.h b/absl/numeric/int128.h
index 8eca1e92..aeca3be9 100644
--- a/absl/numeric/int128.h
+++ b/absl/numeric/int128.h
@@ -71,12 +71,12 @@ namespace absl {
//
// Example:
//
-// float y = kuint128max; // Error. uint128 cannot be implicitly converted
-// // to float.
+// float y = absl::kuint128max; // Error. uint128 cannot be implicitly
+// // converted to float.
//
-// uint128 v;
-// uint64_t i = v // Error
-// uint64_t i = static_cast<uint64_t>(v) // OK
+// absl::uint128 v;
+// absl::uint64_t i = v; // Error
+// absl::uint64_t i = static_cast<uint64_t>(v); // OK
//
class alignas(16) uint128 {
public: