rapidyaml 0.14.0
parse and emit YAML, and do it fast
Loading...
Searching...
No Matches
Format utilities

Provides generic and type-safe formatting/scanning utilities built on top of to_chars: generalized chars to value and from_chars: generalized chars to value, forwarding the arguments to these functions, which in turn use the Charconv utilities utilities. More...

Topics

 Format specifiers
 Format specifiers are tag types and functions that are used together with to_chars: generalized chars to value and from_chars: generalized chars to value.
 cat: concatenate arguments to string
 uncat: read concatenated arguments from string
 catsep: cat arguments to string with separator
 uncatsep: deserialize the separated arguments from a string
 format: formatted string interpolation
 unformat: formatted read from string

Namespaces

namespace  c4::fmt

Detailed Description

Provides generic and type-safe formatting/scanning utilities built on top of to_chars: generalized chars to value and from_chars: generalized chars to value, forwarding the arguments to these functions, which in turn use the Charconv utilities utilities.

Like Charconv utilities, the formatting facilities are very efficient and many times faster than printf().

See also
a formatting sample in rapidyaml's docs