preCICE v3.1.1
Loading...
Searching...
No Matches
Macros
ArgumentFormatter.hpp File Reference
#include <boost/preprocessor/control/if.hpp>
#include <boost/preprocessor/seq/for_each_i.hpp>
#include <boost/preprocessor/stringize.hpp>
#include <boost/preprocessor/variadic/to_seq.hpp>
#include <boost/vmd/is_empty.hpp>
#include "utils/fmt.hpp"
Include dependency graph for ArgumentFormatter.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define PRECICE_LOG_ARGUMENTS_FMT(r, data, i, elem)    " " BOOST_PP_STRINGIZE(i) ": " BOOST_PP_STRINGIZE(elem) " == {}\n"
 Helper macro, used by TRACE.
 
#define PRECICE_LOG_ARGUMENTS(...)
 

Macro Definition Documentation

◆ PRECICE_LOG_ARGUMENTS

#define PRECICE_LOG_ARGUMENTS ( ...)
Value:
BOOST_PP_IF(BOOST_VMD_IS_EMPTY(__VA_ARGS__), \
"", \
"\n" BOOST_PP_SEQ_FOR_EACH_I(PRECICE_LOG_ARGUMENTS_FMT, , BOOST_PP_VARIADIC_TO_SEQ(__VA_ARGS__)), \
__VA_ARGS__))
#define PRECICE_LOG_ARGUMENTS_FMT(r, data, i, elem)
Helper macro, used by TRACE.
std::string format_or_error(std::string_view str)
Definition fmt.hpp:19

Definition at line 15 of file ArgumentFormatter.hpp.

◆ PRECICE_LOG_ARGUMENTS_FMT

#define PRECICE_LOG_ARGUMENTS_FMT ( r,
data,
i,
elem )    " " BOOST_PP_STRINGIZE(i) ": " BOOST_PP_STRINGIZE(elem) " == {}\n"

Helper macro, used by TRACE.

Definition at line 12 of file ArgumentFormatter.hpp.