Doxygen
Loading...
Searching...
No Matches
fmt::formatter< Specifier > Struct Reference

adds support for formatting Specifier More...

#include <src/message.h>

+ Inheritance diagram for fmt::formatter< Specifier >:
+ Collaboration diagram for fmt::formatter< Specifier >:

Public Member Functions

auto format (Specifier spec, format_context &ctx) const
 

Detailed Description

adds support for formatting Specifier

Definition at line 172 of file message.h.

Member Function Documentation

◆ format()

auto fmt::formatter< Specifier >::format ( Specifier spec,
format_context & ctx ) const
inline

Definition at line 174 of file message.h.

174 {
175 std::string result="Unknown";
176 switch (spec)
177 {
178 case Specifier::Normal: result="Normal"; break;
179 case Specifier::Virtual: result="Virtual"; break;
180 case Specifier::Pure: result="Pure"; break;
181 }
183 }

References Normal, Pure, and Virtual.


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