|
RPNX::QueryGraph
Typed, memoized, concurrent query evaluation for C++23
|
A diagnostic emitted by a running query handler. More...
#include <querygraph.hpp>
Public Member Functions | |
| template<typename... Ts> | |
| debug_message (std::format_string< Ts... > format_string, Ts &&... args) | |
| Construct and format a diagnostic message. | |
| debug_message (debug_message const &other)=default | |
| Copy a message and its recorded location. | |
Public Attributes | |
| std::string | message |
| Already-formatted diagnostic text. | |
| std::source_location | location |
Source location assigned at the handler's co_yield site. | |
A diagnostic emitted by a running query handler.
Yield a debug_message from a handler to attach formatted text and the yield site's source location to the current node. Messages are included in structured and binary graph dumps.
Definition at line 359 of file querygraph.hpp.
|
inline |
Construct and format a diagnostic message.
| format_string | Checked std::format format string. |
| args | Values interpolated into format_string. |
Definition at line 373 of file querygraph.hpp.
References message.
Referenced by debug_message().
| std::source_location rpnx::querygraph::debug_message::location |
Source location assigned at the handler's co_yield site.
Definition at line 364 of file querygraph.hpp.
| std::string rpnx::querygraph::debug_message::message |
Already-formatted diagnostic text.
Definition at line 362 of file querygraph.hpp.
Referenced by debug_message().