IceShard 1
A personal game engine project, with development focused on 2D/2.5D games.
Loading...
Searching...
No Matches
ice::AllocRequest Struct Reference

#include <ice/mem.hxx>

Public Member Functions

constexpr AllocRequest () noexcept=default
constexpr AllocRequest (ice::usize size, ice::ualign alignment=ice::ualign::b_default) noexcept
constexpr AllocRequest (ice::meminfo memory_info) noexcept
template<typename T>
requires (std::is_pointer_v<T> == false)
constexpr AllocRequest (ice::AlignResult< T > align_result) noexcept

Public Attributes

ice::usize size = 0_B
ice::ualign alignment = ice::ualign::b_default

Constructor & Destructor Documentation

◆ AllocRequest() [1/4]

ice::AllocRequest::AllocRequest ( )
constexprdefaultnoexcept

◆ AllocRequest() [2/4]

ice::AllocRequest::AllocRequest ( ice::usize size,
ice::ualign alignment = ice::ualign::b_default )
constexprnoexcept

◆ AllocRequest() [3/4]

ice::AllocRequest::AllocRequest ( ice::meminfo memory_info)
constexprnoexcept

◆ AllocRequest() [4/4]

template<typename T>
requires (std::is_pointer_v<T> == false)
ice::AllocRequest::AllocRequest ( ice::AlignResult< T > align_result)
constexprnoexcept

Member Data Documentation

◆ alignment

ice::ualign ice::AllocRequest::alignment = ice::ualign::b_default

◆ size

ice::usize ice::AllocRequest::size = 0_B

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