StormByte 2.0.0
C++26 foundation of the StormByte suite
 
Loading...
Searching...
No Matches
StormByte::Detail Namespace Reference

Private specialization point for non-trivial types. More...

Classes

struct  Codec
 Size / write / read for one type T. More...
 
struct  Codec< Safe::CString >
 StormByte::Detail::Codec specialization for StormByte::Safe::CString. More...
 
struct  Codec< Safe::String >
 UTF-8 text codec with the same wire layout as std::string. More...
 
struct  Codec< Safe::WCString >
 StormByte::Detail::Codec specialization for StormByte::Safe::WCString. More...
 
struct  Codec< Safe::WString >
 Wide text codec with the same UTF-8 wire layout as std::wstring. More...
 
struct  Codec< std::string >
 StormByte::Detail::Codec specialization for std::string. More...
 
struct  Codec< std::u16string >
 StormByte::Detail::Codec specialization for std::u16string. More...
 
struct  Codec< std::u32string >
 StormByte::Detail::Codec specialization for std::u32string. More...
 
struct  Codec< std::wstring >
 StormByte::Detail::Codec specialization for std::wstring. More...
 

Variables

template<typename T >
constexpr bool codec_always_false_v = false
 Compile-time false dependent on T.
 

Detailed Description

Private specialization point for non-trivial types.

Other StormByte modules (and only those) specialize StormByte::Detail::Codec for their own types. Do not specialize StormByte::Serializable itself.

Variable Documentation

◆ codec_always_false_v

template<typename T >
constexpr bool StormByte::Detail::codec_always_false_v = false
constexpr

Compile-time false dependent on T.

Template Parameters
TIgnored; exists so static_assert is delayed to instantiation.