rapidyaml 0.14.0
parse and emit YAML, and do it fast
Loading...
Searching...
No Matches
boolean specifiers

Classes

struct  c4::fmt::boolalpha_

Functions

template<class T>
boolalpha_ c4::fmt::boolalpha (T const &val=false)
 tag function to mark a variable to be written as an alphabetic boolean, ie as either true or false

Detailed Description

Function Documentation

◆ boolalpha()

template<class T>
boolalpha_ c4::fmt::boolalpha ( T const & val = false)

tag function to mark a variable to be written as an alphabetic boolean, ie as either true or false

Definition at line 70 of file format.hpp.

71{
72 return boolalpha_{val ? true : false};
73}