rapidyaml  0.16.0
parseandemitYAML,anddoitfast
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
 

Namespaces

 c4::fmt
 

Classes

struct  c4::fmt::boolalpha_
 
struct  c4::fmt::integral_< T >
 format an integral type with a custom radix More...
 
struct  c4::fmt::integral_padded_< T >
 format an integral type with a custom radix, and pad with zeroes on the left More...
 
struct  c4::fmt::overflow_checked_< T >
 
struct  c4::fmt::real_< T >
 
struct  c4::fmt::raw_wrapper_< T >
 
struct  c4::fmt::left_< T >
 
struct  c4::fmt::center_< T >
 
struct  c4::fmt::right_< T >
 

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