microfmt
Zero-allocation C++ formatting for constrained environments
Loading...
Searching...
No Matches
Public Member Functions | List of all members
microfmt::formatter< reloco::ordering > Struct Reference

Formatter for reloco::ordering. More...

#include <reloco.hpp>

Public Member Functions

constexpr void parse (format_parse_context &) noexcept
 
void format (reloco::ordering value, const sink &out) const noexcept
 

Detailed Description

Formatter for reloco::ordering.

Writes one of the literal texts less, equal, greater, matching Rust's Debug output for std::cmp::Ordering.

Member Function Documentation

◆ format()

void microfmt::formatter< reloco::ordering >::format ( reloco::ordering  value,
const sink &  out 
) const
inlinenoexcept

◆ parse()

constexpr void microfmt::formatter< reloco::ordering >::parse ( format_parse_context &  )
inlineconstexprnoexcept

The documentation for this struct was generated from the following file: