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", int line={}) noexcept |
|
Local implementation of the std::source_location.
Definition at line 57 of file reflection.h.
◆ current()
static constexpr auto micro_os_plus::micro_test_plus::reflection::source_location::current |
( |
const char * | file = "unknown", |
|
|
int | line = {} ) |
|
inlinestaticconstexprnoexcept |
◆ file_name()
constexpr auto micro_os_plus::micro_test_plus::reflection::source_location::file_name |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ line()
constexpr auto micro_os_plus::micro_test_plus::reflection::source_location::line |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ file_
const char* micro_os_plus::micro_test_plus::reflection::source_location::file_ { "unknown" } |
|
private |
◆ line_
int micro_os_plus::micro_test_plus::reflection::source_location::line_ {} |
|
private |
The documentation for this class was generated from the following file: