|
Container System 0.1.0
High-performance C++20 type-safe container framework with SIMD-accelerated serialization
|
Simple formatter wrapper around std::format. More...
#include <formatter.h>

Static Public Member Functions | |
| template<typename... Args> | |
| static std::string | format (const std::string &format_str, Args &&... args) |
| template<typename OutputIt , typename... Args> | |
| static void | format_to (OutputIt out, const std::string &format_str, Args &&... args) |
| static std::string | format (const std::string &format_str) |
Static Private Member Functions | |
| template<typename T > | |
| static void | replace_next (std::string &str, T &&value) |
Simple formatter wrapper around std::format.
Uses std::vformat when full C++20 <format> support is available (GCC 13+, MSVC 19.29+). Falls back to ostringstream-based placeholder substitution on compilers with incomplete <format> (e.g. Apple Clang).
Definition at line 29 of file formatter.h.
|
inlinestatic |
Definition at line 69 of file formatter.h.
|
inlinestatic |
Definition at line 55 of file formatter.h.
References replace_next().
Referenced by format_to().


|
inlinestatic |
Definition at line 62 of file formatter.h.
References format().

|
inlinestaticprivate |
Definition at line 76 of file formatter.h.
Referenced by format().
