StormByte C++ Library 1.2.0
StormByte is a comprehensive, cross-platform C++ library aimed at easing system programming, configuration management, logging, and database handling tasks. This library provides a unified API that abstracts away the complexities and inconsistencies of different platforms (Windows, Linux).
Loading...
Searching...
No Matches
Classes | Variables
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< std::string >
 Codec specialization for std::string. More...
 
struct  Codec< std::u16string >
 Codec specialization for std::u16string. More...
 
struct  Codec< std::u32string >
 Codec specialization for std::u32string. More...
 
struct  Codec< std::wstring >
 Codec specialization for std::wstring. More...
 

Variables

template<typename T >
constexpr bool is_std_array_v = false
 Identifies std::array so fixed-size containers can be decoded by index.
 
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 Codec for their own types. Do not specialize 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.

◆ is_std_array_v

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

Identifies std::array so fixed-size containers can be decoded by index.

Template Parameters
TCandidate type.