|
IceShard 1
A personal game engine project, with development focused on 2D/2.5D games.
|
Represents a unsigned size value on the given platform. More...
#include <ice/mem_size_types.hxx>
Public Types | |
| using | TypeTag = ice::StrongNumeric |
| using | base_type = std::size_t |
Public Member Functions | |
| constexpr | operator isize () const noexcept |
Static Public Member Functions | |
| static constexpr auto | subtract (ice::usize left, ice::usize right) noexcept -> ice::usize |
| Perform a checked subtraction, ensuring 'left' is greater or equal to 'right'. | |
Public Attributes | |
| base_type | value |
Represents a unsigned size value on the given platform.
| using ice::usize::base_type = std::size_t |
|
constexprnoexcept |
|
staticconstexprnoexcept |
Perform a checked subtraction, ensuring 'left' is greater or equal to 'right'.
| base_type ice::usize::value |