rapidyaml  0.13.0
parse and emit YAML, and do it fast
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...

Modules

 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
 

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