IODA
source_location_compat.h File Reference

Implements ioda::source_location. More...

#include <cstdint>
Include dependency graph for source_location_compat.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ioda::detail::compat::source_location::source_location
 This is a placeholder implementation for std::source_location, which is part of C++20. More...
 

Namespaces

 ioda
 
 ioda::detail
 
 ioda::detail::compat
 Compatibility functions.
 
 ioda::detail::compat::source_location
 This namespace is imported into the top-level ioda namespace if the C++ language standard version is less than C++20.
 

Macros

#define IODA_FUNCSIG   __PRETTY_FUNCTION__
 
#define ioda_Here()   ::ioda::source_location(__LINE__, 0, __FILE__, IODA_FUNCSIG)
 

Detailed Description

Implements ioda::source_location.

Definition in file source_location_compat.h.

Macro Definition Documentation

◆ IODA_FUNCSIG

#define IODA_FUNCSIG   __PRETTY_FUNCTION__

Definition at line 62 of file source_location_compat.h.

◆ ioda_Here

#define ioda_Here ( )    ::ioda::source_location(__LINE__, 0, __FILE__, IODA_FUNCSIG)

Definition at line 87 of file source_location_compat.h.