#include <StormByte/type_traits/categories.hxx>#include <StormByte/type_traits/conversions.hxx>#include <StormByte/type_traits/relations.hxx>#include <charconv>#include <cstdint>#include <limits>#include <string>#include <string_view>#include <system_error>#include <type_traits>#include <utility>

Go to the source code of this file.
Classes | |
| struct | StormByte::Safe::ReplaceTokenSpec |
| One ReplaceToken field. More... | |
| struct | StormByte::Safe::ReplaceTokenPlace< Char > |
| Where a field sits in the pattern, and how to render its argument. More... | |
Namespaces | |
| namespace | StormByte |
| Root namespace of the StormByte suite. | |
| namespace | StormByte::Safe |
| Owned values that cross a DLL without the caller's CRT. | |
Concepts | |
| concept | StormByte::Safe::ReplaceTokenBuiltin |
True when FormatReplaceToken always writes T and never asks for a string conversion. | |
Functions | |
| template<class Char> | |
| constexpr bool | StormByte::Safe::ParseReplaceTokenSpec (const Char *data, std::size_t count, ReplaceTokenSpec &out) noexcept |
| Parse the inside of one {...}. | |
| template<class Char> | |
| std::size_t | StormByte::Safe::FindReplaceTokens (std::basic_string_view< Char > text, ReplaceTokenPlace< Char > *places, std::size_t capacity) noexcept |
Collect up to capacity fields, in order. | |
| template<class Char, class T> | |
| bool | StormByte::Safe::FormatReplaceToken (std::basic_string< Char > &out, T &&value, const ReplaceTokenSpec &spec) |
| Render one argument when it does not need an owned-string conversion. | |