Logger System 0.1.3
High-performance C++20 thread-safe logging system with asynchronous capabilities
Loading...
Searching...
No Matches
small_string.h File Reference

Small String Optimization (SSO) for short log messages. More...

#include <cstring>
#include <string>
#include <string_view>
#include <algorithm>
#include <memory>
#include <utility>
Include dependency graph for small_string.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  kcenon::logger::small_string< SSO_SIZE >
 Small String Optimization (SSO) implementation. More...
 
struct  kcenon::logger::small_string< SSO_SIZE >::memory_stats
 Get memory usage statistics. More...
 
union  kcenon::logger::small_string< SSO_SIZE >::data_union
 

Namespaces

namespace  kcenon
 
namespace  kcenon::logger
 

Typedefs

using kcenon::logger::small_string_64 = small_string<64>
 
using kcenon::logger::small_string_128 = small_string<128>
 
using kcenon::logger::small_string_256 = small_string<256>
 
using kcenon::logger::small_string_512 = small_string<512>
 

Detailed Description

Small String Optimization (SSO) for short log messages.

Definition in file small_string.h.