IceShard 1
A personal game engine project, with development focused on 2D/2.5D games.
Loading...
Searching...
No Matches
mem_utils.hxx File Reference
#include <ice/mem_info.hxx>
#include <ice/mem_arithmetic.hxx>
#include <type_traits>

Go to the source code of this file.

Namespaces

namespace  ice
 SPDX-License-Identifier: MIT.

Functions

constexpr auto ice::mem_max_capacity (ice::usize element_size, ice::usize memory_space) noexcept -> ice::u64
template<typename T>
constexpr auto ice::mem_max_capacity (ice::usize memory_space) noexcept -> ice::u64