Local implementation of the std::source_location.
More...
#include <micro-os-plus/micro-test-plus.h>
|
constexpr auto | file_name () const noexcept |
|
constexpr auto | line () const noexcept |
|
|
static constexpr auto | current (const char *file="unknown", unsigned int line={}) noexcept |
|
|
const char * | file_ { "unknown" } |
|
unsigned int | line_ {} |
|
Local implementation of the std::source_location.
Definition at line 56 of file reflection.h.
◆ current()
static constexpr auto micro_os_plus::micro_test_plus::reflection::source_location::current |
( |
const char * | file = "unknown", |
|
|
unsigned int | line = {} ) |
|
inlinestaticnodiscardconstexprnoexcept |
◆ file_name()
auto micro_os_plus::micro_test_plus::reflection::source_location::file_name |
( |
| ) |
const |
|
inlinenodiscardconstexprnoexcept |
◆ line()
auto micro_os_plus::micro_test_plus::reflection::source_location::line |
( |
| ) |
const |
|
inlinenodiscardconstexprnoexcept |
◆ file_
const char* micro_os_plus::micro_test_plus::reflection::source_location::file_ { "unknown" } |
|
private |
◆ line_
unsigned int micro_os_plus::micro_test_plus::reflection::source_location::line_ {} |
|
private |
The documentation for this class was generated from the following file: