|
Bifrost SDK
Bifrost SDK documentation
|
The text content from which to construct a message (with optional formatting specifiers). More...
#include <Message.h>
Public Member Functions | |
| constexpr | MessageText (StringLiteral literal) noexcept |
| Constructor from a string literal. More... | |
| StringView | getFormat () const & |
| Get the format string. More... | |
The text content from which to construct a message (with optional formatting specifiers).
The MessageText can contain format specifiers that will be replaced with the given format arguments when the Message is constructed.
The format specifiers are similar to the ones used in std::format. They use curly braces {} to specify where to insert the format arguments. For example:
|
inlineconstexprnoexcept |
|
inline |