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

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 }