13 if ((source_location.
filename() ==
nullptr) || (source_location.
line() == 0))
16 return os << source_location.
filename() <<
':' << source_location.
line();
21#if defined(FMT_VERSION)
22template <>
struct fmt::formatter<
CppCommon::SourceLocation> : ostream_formatter {};
const char * filename() const noexcept
Get file name.
int line() const noexcept
Get line number.
C++ Common project definitions.
std::ostream & operator<<(std::ostream &os, const uint128_t &value)