STIR  6.3.0
Namespaces | Macros | Functions
format.h File Reference

Include for formatting function. Use standard library version if available (C++20 and newer). Otherwise use fmt::format, which is included into STIR as a git submodule. More...

#include <string>
#include <utility>
#include "stir/common.h"
#include "fmt/format.h"

Go to the source code of this file.

Namespaces

 stir
 Namespace for the STIR library (and some/most of its applications)
 

Macros

#define FMT_HEADER_ONLY   1
 

Functions

template<typename... Args>
std::string stir::format (fmt::format_string< Args... > fmt, Args &&... args)
 
template<typename... Args>
std::string stir::runtime_format (internal_format::string_view fmt, Args &&... args)
 

Detailed Description

Include for formatting function. Use standard library version if available (C++20 and newer). Otherwise use fmt::format, which is included into STIR as a git submodule.

Author
Markus Jehl
Kris Thielemans