ZXFoundation™ 26h2
Loading...
Searching...
No Matches
format.cxxm File Reference
module lib.format

Type-safe minimal formatter for kernel usage. More...

import std;
import zxfoundation.base.types;
Include dependency graph for format.cxxm:

Data Structures

struct  lib::format::dec
 Integer with padding options. More...
struct  lib::format::format_context
 Internal buffer management for formatting. More...
struct  lib::format::formatter< T >
 Default formatter implementation for various types. More...
struct  lib::format::formatter< bool >
 Formatter for booleans — prints "true" or "false". More...
struct  lib::format::formatter< char >
 Formatter for characters. More...
struct  lib::format::formatter< char[N]>
 Formatter for fixed-size character arrays (string literals). More...
struct  lib::format::formatter< const char * >
 Formatter for C-style strings. More...
struct  lib::format::formatter< dec >
struct  lib::format::formatter< hex >
struct  lib::format::formatter< std::source_location >
 Formatter for std::pair. More...
struct  lib::format::formatter< std::span< T, Extent > >
 Formatter for std::span<T, Extent>. More...
struct  lib::format::formatter< std::string_view >
 Formatter for string views. More...
struct  lib::format::formatter< T * >
 Formatter for pointers. More...
struct  lib::format::formatter< T >
 Base formatter for integers. More...
struct  lib::format::formatter< uchar[N]>
 Formatter for fixed-size byte (uchar) arrays. More...
struct  lib::format::hex
 Hexadecimal wrapper for integers. More...

Functions

template<typename... Args>
auto lib::format::format_to (std::span< char > buf, std::string_view fmt, Args &&... args) -> usize
 Entry point for formatting.

Detailed Description

Type-safe minimal formatter for kernel usage.

SPDX-License-Identifier: Apache 2.0