momo  3.9
momo::internal::UIntConst Struct Reference

#include <Utility.h>

Public Member Functions

 MOMO_STATIC_ASSERT (nullPtr !=invalidPtr)
 
 MOMO_STATIC_ASSERT (maxAllocAlignment !=0 &&(maxAllocAlignment &(maxAllocAlignment - 1))==0)
 
 MOMO_STATIC_ASSERT (maxAllocAlignment % maxAlignment==0)
 

Static Public Attributes

static const uintptr_t nullPtr = MOMO_NULL_UINTPTR
 
static const uintptr_t invalidPtr = MOMO_INVALID_UINTPTR
 
static const size_t maxAlignment = MOMO_MAX_ALIGNMENT
 
static const size_t maxAllocAlignment = alignof(std::max_align_t)
 
static const size_t maxSize = SIZE_MAX
 
static const uint32_t max32 = UINT32_MAX
 

Member Function Documentation

◆ MOMO_STATIC_ASSERT() [1/3]

momo::internal::UIntConst::MOMO_STATIC_ASSERT ( maxAllocAlignment = 0 &&(maxAllocAlignment &(maxAllocAlignment - 1))==0)

◆ MOMO_STATIC_ASSERT() [2/3]

momo::internal::UIntConst::MOMO_STATIC_ASSERT ( maxAllocAlignment maxAlignment = =0)

◆ MOMO_STATIC_ASSERT() [3/3]

momo::internal::UIntConst::MOMO_STATIC_ASSERT ( nullPtr = invalidPtr)

Member Data Documentation

◆ invalidPtr

const uintptr_t momo::internal::UIntConst::invalidPtr = MOMO_INVALID_UINTPTR
static

◆ max32

const uint32_t momo::internal::UIntConst::max32 = UINT32_MAX
static

◆ maxAlignment

const size_t momo::internal::UIntConst::maxAlignment = MOMO_MAX_ALIGNMENT
static

◆ maxAllocAlignment

const size_t momo::internal::UIntConst::maxAllocAlignment = alignof(std::max_align_t)
static

◆ maxSize

const size_t momo::internal::UIntConst::maxSize = SIZE_MAX
static

◆ nullPtr

const uintptr_t momo::internal::UIntConst::nullPtr = MOMO_NULL_UINTPTR
static

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