clang::mrdocs::dom::HasValueFromWithContext
Concept to determine if a type can be converted to a dom::Value
with a user‐provided conversion.
Synopsis
Declared in <mrdocs/Dom/Value.hpp>
template<
class T,
class Context>
concept HasValueFromWithContext = requires(
Value& v,
T const& t,
Context const& ctx)
{
tag_invoke(ValueFromTag{}, v, t, ctx);
};
Description
This concept determines if the user‐provided conversion is defined as:
void tag_invoke( ValueFromTag, dom::Value&, T, Context const& );
Created with MrDocs