Iros
 
Loading...
Searching...
No Matches
cp.cpp File Reference

Classes

struct  cp::Args
 

Namespaces

namespace  cp
 

Macros

#define TRY_OR_ERROR_LOG(expr, format, ...)
 

Macro Definition Documentation

◆ TRY_OR_ERROR_LOG

#define TRY_OR_ERROR_LOG ( expr,
format,
... )
Value:
TRY((expr) | di::if_error([&](auto const& error) { \
dius::eprintln(format, __VA_ARGS__ __VA_OPT__(, ) error.message()); \
}))
#define TRY
Definition monad_try.h:23
constexpr auto if_error
Definition if_error.h:28