Public Member Functions | Private Attributes | Friends | List of all members
detail::uint128_fallback Class Reference

#include <format.h>

Public Member Functions

constexpr auto high () const noexcept -> uint64_t
 
constexpr auto low () const noexcept -> uint64_t
 
template<typename T , FMT_ENABLE_IF(std::is_integral< T >::value) >
constexpr operator T () const
 
FMT_CONSTEXPR void operator&= (uint128_fallback n)
 
FMT_CONSTEXPR void operator+= (uint128_fallback n)
 
FMT_CONSTEXPR20 auto operator+= (uint64_t n) noexcept -> uint128_fallback &
 
FMT_CONSTEXPR auto operator<< (int shift) const -> uint128_fallback
 
FMT_CONSTEXPR auto operator>> (int shift) const -> uint128_fallback
 
FMT_CONSTEXPR auto operator>>= (int shift) -> uint128_fallback &
 
constexpr uint128_fallback (uint64_t hi, uint64_t lo)
 
constexpr uint128_fallback (uint64_t value=0)
 

Private Attributes

uint64_t hi_
 
uint64_t lo_
 

Friends

constexpr friend auto operator!= (const uint128_fallback &lhs, const uint128_fallback &rhs) -> bool
 
constexpr friend auto operator& (const uint128_fallback &lhs, const uint128_fallback &rhs) -> uint128_fallback
 
auto operator* (const uint128_fallback &lhs, uint32_t rhs) -> uint128_fallback
 
auto operator+ (const uint128_fallback &lhs, const uint128_fallback &rhs) -> uint128_fallback
 
auto operator- (const uint128_fallback &lhs, uint64_t rhs) -> uint128_fallback
 
constexpr friend auto operator== (const uint128_fallback &lhs, const uint128_fallback &rhs) -> bool
 
constexpr friend auto operator> (const uint128_fallback &lhs, const uint128_fallback &rhs) -> bool
 
constexpr friend auto operator| (const uint128_fallback &lhs, const uint128_fallback &rhs) -> uint128_fallback
 
constexpr friend auto operator~ (const uint128_fallback &n) -> uint128_fallback
 

Detailed Description

Definition at line 328 of file format.h.

Constructor & Destructor Documentation

◆ uint128_fallback() [1/2]

constexpr detail::uint128_fallback::uint128_fallback ( uint64_t  hi,
uint64_t  lo 
)
inlineconstexpr

Definition at line 333 of file format.h.

◆ uint128_fallback() [2/2]

constexpr detail::uint128_fallback::uint128_fallback ( uint64_t  value = 0)
inlineconstexpr

Definition at line 334 of file format.h.

Member Function Documentation

◆ high()

constexpr auto detail::uint128_fallback::high ( ) const -> uint64_t
inlineconstexprnoexcept

Definition at line 336 of file format.h.

◆ low()

constexpr auto detail::uint128_fallback::low ( ) const -> uint64_t
inlineconstexprnoexcept

Definition at line 337 of file format.h.

◆ operator T()

template<typename T , FMT_ENABLE_IF(std::is_integral< T >::value) >
constexpr detail::uint128_fallback::operator T ( ) const
inlineexplicitconstexpr

Definition at line 340 of file format.h.

◆ operator&=()

FMT_CONSTEXPR void detail::uint128_fallback::operator&= ( uint128_fallback  n)
inline

Definition at line 408 of file format.h.

◆ operator+=() [1/2]

FMT_CONSTEXPR void detail::uint128_fallback::operator+= ( uint128_fallback  n)
inline

Definition at line 401 of file format.h.

◆ operator+=() [2/2]

FMT_CONSTEXPR20 auto detail::uint128_fallback::operator+= ( uint64_t  n) -> uint128_fallback&
inlinenoexcept

Definition at line 413 of file format.h.

◆ operator<<()

FMT_CONSTEXPR auto detail::uint128_fallback::operator<< ( int  shift) const -> uint128_fallback
inline

Definition at line 393 of file format.h.

◆ operator>>()

FMT_CONSTEXPR auto detail::uint128_fallback::operator>> ( int  shift) const -> uint128_fallback
inline

Definition at line 388 of file format.h.

◆ operator>>=()

FMT_CONSTEXPR auto detail::uint128_fallback::operator>>= ( int  shift) -> uint128_fallback&
inline

Definition at line 398 of file format.h.

Friends And Related Function Documentation

◆ operator!=

constexpr friend auto operator!= ( const uint128_fallback lhs,
const uint128_fallback rhs 
) -> bool
friend

Definition at line 348 of file format.h.

◆ operator&

constexpr friend auto operator& ( const uint128_fallback lhs,
const uint128_fallback rhs 
) -> uint128_fallback
friend

Definition at line 361 of file format.h.

◆ operator*

auto operator* ( const uint128_fallback lhs,
uint32_t  rhs 
) -> uint128_fallback
friend

Definition at line 376 of file format.h.

◆ operator+

auto operator+ ( const uint128_fallback lhs,
const uint128_fallback rhs 
) -> uint128_fallback
friend

Definition at line 370 of file format.h.

◆ operator-

auto operator- ( const uint128_fallback lhs,
uint64_t  rhs 
) -> uint128_fallback
friend

Definition at line 384 of file format.h.

◆ operator==

constexpr friend auto operator== ( const uint128_fallback lhs,
const uint128_fallback rhs 
) -> bool
friend

Definition at line 344 of file format.h.

◆ operator>

constexpr friend auto operator> ( const uint128_fallback lhs,
const uint128_fallback rhs 
) -> bool
friend

Definition at line 352 of file format.h.

◆ operator|

constexpr friend auto operator| ( const uint128_fallback lhs,
const uint128_fallback rhs 
) -> uint128_fallback
friend

Definition at line 356 of file format.h.

◆ operator~

constexpr friend auto operator~ ( const uint128_fallback n) -> uint128_fallback
friend

Definition at line 366 of file format.h.

Member Data Documentation

◆ hi_

uint64_t detail::uint128_fallback::hi_
private

Definition at line 330 of file format.h.

◆ lo_

uint64_t detail::uint128_fallback::lo_
private

Definition at line 330 of file format.h.


The documentation for this class was generated from the following file:


plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Aug 11 2024 02:24:30