StormByte 2.0.0
C++26 foundation of the StormByte suite
 
Loading...
Searching...
No Matches
size.hxx File Reference

Host-width-stable count (uint64_t), implicit only to std::size_t. More...

#include <StormByte/cstring.hxx>
#include <StormByte/type_traits.hxx>
#include <StormByte/visibility.h>
#include <StormByte/wcstring.hxx>
#include <cassert>
#include <compare>
#include <cstddef>
#include <cstdint>
#include <limits>
#include <ostream>
#include <string>
#include <type_traits>
#include <utility>
Include dependency graph for size.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  StormByte::Size
 Count of abstract units (uint64_t storage). More...
 

Namespaces

namespace  StormByte
 Root namespace of the StormByte suite.
 

Functions

template<Type::Integral T>
constexpr bool StormByte::operator== (Size lhs, T rhs) noexcept
 Mixed equality.
 
template<Type::Integral T>
constexpr bool StormByte::operator== (T lhs, Size rhs) noexcept
 Mixed equality.
 
template<Type::Integral T>
constexpr std::strong_ordering StormByte::operator<=> (Size lhs, T rhs) noexcept
 Mixed order.
 
template<Type::Integral T>
constexpr std::strong_ordering StormByte::operator<=> (T lhs, Size rhs) noexcept
 Mixed order.
 
template<Type::Integral T>
constexpr Size StormByte::operator+ (Size lhs, T rhs) noexcept
 Mixed sum.
 
template<Type::Integral T>
constexpr Size StormByte::operator+ (T lhs, Size rhs) noexcept
 Mixed sum.
 
template<Type::Integral T>
constexpr Size StormByte::operator- (Size lhs, T rhs) noexcept
 Mixed difference.
 
template<Type::Integral T>
constexpr Size StormByte::operator- (T lhs, Size rhs) noexcept
 Mixed difference.
 
template<Type::Integral T>
constexpr Size StormByte::operator* (Size lhs, T rhs) noexcept
 Mixed product.
 
template<Type::Integral T>
constexpr Size StormByte::operator* (T lhs, Size rhs) noexcept
 Mixed product.
 
template<Type::Integral T>
constexpr Size StormByte::operator/ (Size lhs, T rhs) noexcept
 Mixed quotient.
 
template<Type::Integral T>
constexpr Size StormByte::operator/ (T lhs, Size rhs) noexcept
 Mixed quotient.
 
template<Type::Integral T>
constexpr Size StormByte::operator% (Size lhs, T rhs) noexcept
 Mixed remainder.
 
template<Type::Integral T>
constexpr Size StormByte::operator% (T lhs, Size rhs) noexcept
 Mixed remainder.
 
std::ostream & StormByte::operator<< (std::ostream &stream, Size size)
 Writes the decimal count.
 

Detailed Description

Host-width-stable count (uint64_t), implicit only to std::size_t.