The source location.
More...
#include <errors/source_location.hpp>
|
constexpr const char * | file_name () const noexcept |
| Returns the file name, or "unsupported" if it is not supported by the compiler.
|
|
constexpr const char * | function_name () const noexcept |
| Returns the function name.
|
|
constexpr uint_least32_t | line () const noexcept |
| Returns the line number.
|
|
constexpr std::uint_least32_t | column () const noexcept |
| Returns the column number, or 0 if it is not supported by the compiler.
|
|
|
static constexpr source_location | current (const char *fileName="unsupported", const char *functionName="unsupported", const uint_least32_t lineNumber=0, const uint_least32_t columnOffset=0) noexcept |
| Returns the current source location.
|
|
The documentation for this struct was generated from the following file: