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
This commit is contained in:
Abseil Team 2017-11-20 13:53:50 -08:00 committed by Ashley Hedberg
parent 4f3edeb1b4
commit 6a88b40771

View file

@ -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: