RPNX::QueryGraph
Typed, memoized, concurrent query evaluation for C++23
Loading...
Searching...
No Matches
rpnx::querygraph::query_spec_c Concept Reference

Identifies a type that describes a memoized query. More...

#include <querygraph.hpp>

Concept definition

template<typename T>
concept rpnx::querygraph::query_spec_c = requires {
typename T::input_type;
typename T::output_type;
{ T::query_id } -> std::convertible_to< std::string >;
}
Identifies a type that describes a memoized query.

Detailed Description

Identifies a type that describes a memoized query.

A query specification provides nested input_type and output_type aliases plus a query_id convertible to std::string. The identifier is persisted in graph dumps and should therefore remain stable.

Template Parameters
TCandidate query specification.

Definition at line 133 of file querygraph.hpp.