|
micro-test-plus 6.0.1
µTest++ Testing Framework
|
C++ header file with declarations for the µTest++ reflection utilities. More...
Go to the source code of this file.
Classes | |
| class | micro_os_plus::micro_test_plus::reflection::source_location |
| Local implementation of source location information for diagnostics. More... | |
Namespaces | |
| namespace | micro_os_plus |
| The primary namespace for the µOS++ framework. | |
| namespace | micro_os_plus::micro_test_plus |
| Primary namespace for the µTest++ testing framework. | |
| namespace | micro_os_plus::micro_test_plus::reflection |
| Reflection utilities for the µTest++ testing framework. | |
Functions | |
| template<class T> | |
| constexpr auto | micro_os_plus::micro_test_plus::reflection::type_name (void) -> std::string_view |
| Extracts the type name from the __PRETTY_FUNCTION__ identifier. | |
This header provides the declarations for the reflection utilities used within the µTest++ framework. It defines interfaces for obtaining source location information and extracting type names at compile time, for the reports of the checks.
The reflection utilities include a local implementation of source_location for standard libraries that do not yet provide std::source_location, and a function to extract concise type names using the compiler-specific __PRETTY_FUNCTION__ identifier. These facilities enable precise identification of code locations and types in test reports.
All definitions reside within the micro_os_plus::micro_test_plus::reflection namespace.
This file is included by micro-os-plus/micro-test-plus.h, which is the header that the applications include.
Definition in file reflection.h.