64 {
66 using Parameter = std::tuple_element_t<Index, Values>;
67
68 const auto text = Access::attribute(call, Description::parameters[Index]);
69 if (!text)
70 return true;
75 "<" + std::string(Access::name(call)) + "> has an invalid " + std::string(Description::parameters[Index])
76 + " of " + std::string(*text));
77 return false;
78 }
79 given[Index] = true;
80 return true;
81 } else {
83 std::string(Description::parameters[Index]) + " of " + std::string(Description::name)
84 + " cannot be written in a document");
85 return false;
86 }
87 }
std::string located_message(uint64_t location, std::string_view message)
A diagnostic message prefixed with the location of the element it concerns.
The parameter names of a described function, which C++ cannot supply itself.
Conversion of authored text to one value type.