Cantera  2.4.0
Macros | Typedefs | Functions
fmt.h File Reference

Wrapper for either system-installed or local headers for fmt. More...

#include "ct_defs.h"
#include "fmt/format.h"
#include "fmt/ostream.h"
Include dependency graph for fmt.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define FMT_NO_FMT_STRING_ALIAS
 Do not use the fmt macro from fmtlib because it shadows a function of the same name in kinetics/Group.h. More...
 
#define FMT_HEADER_ONLY
 Use header-only library to avoid relocation issues with linking to the static libfmt.a. More...
 

Typedefs

using memory_buffer = MemoryWriter
 

Functions

template<typename... Args>
void format_to (fmt::memory_buffer &b, Args... args)
 
std::string to_string (fmt::memory_buffer &b)
 

Detailed Description

Wrapper for either system-installed or local headers for fmt.

Definition in file fmt.h.

Macro Definition Documentation

◆ FMT_NO_FMT_STRING_ALIAS

#define FMT_NO_FMT_STRING_ALIAS

Do not use the fmt macro from fmtlib because it shadows a function of the same name in kinetics/Group.h.

Definition at line 8 of file fmt.h.

◆ FMT_HEADER_ONLY

#define FMT_HEADER_ONLY

Use header-only library to avoid relocation issues with linking to the static libfmt.a.

Definition at line 12 of file fmt.h.