Commit 6a88b407 by Abseil Team Committed by Ashley Hedberg

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
parent 4f3edeb1
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment