GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
grem::IndexAllocation< Index > Struct Template Reference

#include <GREM/core/data/RangeAllocator.hpp>

Public Types

using size_type = decltype(std::declval<Index>() - std::declval<Index>())

Public Member Functions

constexpr size_type size () const noexcept
constexpr bool empty () const noexcept

Public Attributes

Index index = std::numeric_limits<Index>::max()

Member Typedef Documentation

◆ size_type

template<typename Index>
using grem::IndexAllocation< Index >::size_type = decltype(std::declval<Index>() - std::declval<Index>())

Member Function Documentation

◆ size()

template<typename Index>
size_type grem::IndexAllocation< Index >::size ( ) const
inlinenodiscardconstexprnoexcept

◆ empty()

template<typename Index>
bool grem::IndexAllocation< Index >::empty ( ) const
inlinenodiscardconstexprnoexcept

Member Data Documentation

◆ index

template<typename Index>
Index grem::IndexAllocation< Index >::index = std::numeric_limits<Index>::max()

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