class
#include <muu/source_location.h>
source_location A backport of C++20's std::
Constructors, destructors, conversion operators
- source_location() defaulted constexpr noexcept
- Default destructor.
Public functions
- auto column() const -> uint_least32_t constexpr noexcept
- The calling column.
- auto file_name() const -> const char* constexpr noexcept
- The calling file path.
- auto file_name_tail() const -> const char* constexpr noexcept
- The filename-only 'tail' of the calling file path.
- auto function_name() const -> const char* constexpr noexcept
- The calling function name.
- auto line() const -> uint_least32_t constexpr noexcept
- The calling line.
Function documentation
uint_least32_t muu:: source_location:: column() const constexpr noexcept
The calling column.
const char* muu:: source_location:: file_name_tail() const constexpr noexcept
The filename-only 'tail' of the calling file path.