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>
concept HasValueFromWithoutContext = requires(
    Value& v,
    T const& t)
{
    tag_invoke(ValueFromTag{}, v, t);
};

Description

This concept determines if the user‐provided conversion is defined as:

void tag_invoke( ValueFromTag, dom::Value&, T );

Created with MrDocs