Harlinn.Windows 0.1
Loading...
Searching...
No Matches
Harlinn::Common::Internal Namespace Reference

Classes

struct  FinallyImpl
 
struct  MakeUnsignedHelper
 
struct  MakeUnsignedHelper< 1 >
 
struct  MakeUnsignedHelper< 2 >
 
struct  MakeUnsignedHelper< 4 >
 
struct  MakeUnsignedHelper< 8 >
 

Concepts

concept  SimpleStringLikeImpl
 
concept  StringLikeImpl
 

Functions

template<typename T , std::size_t... N>
constexpr T ByteSwapImpl (T value, std::index_sequence< N... >)
 
constexpr size_t LengthOf (const char *s) noexcept
 
constexpr size_t LengthOf (const wchar_t *s) noexcept
 

Function Documentation

◆ ByteSwapImpl()

template<typename T , std::size_t... N>
T Harlinn::Common::Internal::ByteSwapImpl ( T value,
std::index_sequence< N... >  )
inlineconstexpr

◆ LengthOf() [1/2]

size_t Harlinn::Common::Internal::LengthOf ( const char * s)
inlinenodiscardconstexprnoexcept

◆ LengthOf() [2/2]

size_t Harlinn::Common::Internal::LengthOf ( const wchar_t * s)
inlinenodiscardconstexprnoexcept