UraniumCompute 0.1.0
A GPU accelerated parallel task scheduler
UN::MemorySizeImpl< T, class > Class Template Reference

Stores memory size in bytes, this is useful to format human-readable memory sizes. More...

#include <Base.h>

Public Member Functions

 MemorySizeImpl (T sizeInBytes)
 
template<class T1 >
MemorySizeImploperator= (const MemorySizeImpl< T1 > &other)
 
MemorySizeImploperator= (const MemorySizeImpl &other)=default
 
MemorySizeImploperator= (MemorySizeImpl &&other) noexcept=default
 
MemorySizeImploperator= (const T &other)
 
GetBytes () const
 Get memory size in bytes.
 

Detailed Description

template<class T, class = std::enable_if_t<std::is_integral_v<T>, void>>
class UN::MemorySizeImpl< T, class >

Stores memory size in bytes, this is useful to format human-readable memory sizes.


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