|
CHERIoT RTOS
A compartmentalised RTOS for CHERIoT hardware
|
Helper class wrapping a string for use as a template argument. More...
#include <debug.hh>
Public Member Functions | |
| constexpr | DebugContext (const char(&str)[N]) |
| Constructor, captures the string argument. | |
| constexpr | operator const char * () const |
| Implicit conversion to a C string. | |
Public Attributes | |
| char | value [N] |
| The captured string. | |
Helper class wrapping a string for use as a template argument.
This is used to describe a context for conditional debugging that will be prefixed to debug lines.
|
inlineconstexpr |
|
inlineconstexpr |
| char anonymous_namespace{debug.hh}::DebugContext< N >::value[N] |
The captured string.
Must be public for this class to meet the requirements of a structural type for use as a template argument.
Definition at line 603 of file debug.hh.
Referenced by DebugContext(), and operator const char *().