RPNX::QueryGraph
Typed, memoized, concurrent query evaluation for C++23
Loading...
Searching...
No Matches
rpnx::querygraph::debug_traits< T > Struct Template Reference

Human-readable formatting customization point for query values. More...

#include <querygraph.hpp>

Static Public Member Functions

static std::string to_debug_string (T const &value)
 Convert value to diagnostic text.
 

Detailed Description

template<typename T>
struct rpnx::querygraph::debug_traits< T >

Human-readable formatting customization point for query values.

The default implementation prefers T::to_debug_string(), then uses a standard formatter when one is available. Applications may specialize this trait to provide a representation for other types.

Template Parameters
TValue type to format.

Definition at line 310 of file querygraph.hpp.

Member Function Documentation

◆ to_debug_string()

template<typename T>
static std::string rpnx::querygraph::debug_traits< T >::to_debug_string ( T const & value)
inlinestatic

Convert value to diagnostic text.

Definition at line 313 of file querygraph.hpp.

Referenced by rpnx::querygraph::debug_abi::graph::register_inputoutput_text_descriptor().


The documentation for this struct was generated from the following file: