nicole mazzuca 6a41626eaf
[vcpkg] Format the C++ in CI (#11655)
* [vcpkg] Format the C++ in the CI

* format the C++

* CR
2020-07-06 16:45:34 -07:00

25 lines
516 B
C++

#pragma once
#include <stdint.h>
namespace vcpkg
{
struct UInt128
{
UInt128() = default;
UInt128(uint64_t value) : bottom(value), top(0) { }
UInt128& operator<<=(int by) noexcept;
UInt128& operator>>=(int by) noexcept;
UInt128& operator+=(uint64_t lhs) noexcept;
uint64_t bottom_64_bits() const noexcept { return bottom; }
uint64_t top_64_bits() const noexcept { return top; }
private:
uint64_t bottom;
uint64_t top;
};
}