Cantera  2.5.1
Namespaces | Macros | Typedefs | Functions
fmt.h File Reference

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

#include "ct_defs.h"
#include "cantera/ext/fmt/format.h"
#include "cantera/ext/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.

Namespaces

 fmt
 Versions 6.2.0 and 6.2.1 of fmtlib do not include this define before they include windows.h, breaking builds on Windows.
 

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.