48 std::string_view label, std::string& error)
51 [&](
const auto& visit) {
52 return fields([&](std::string_view name, std::string_view value) {
53 return visit(name, value);
56 [&](std::string_view name, std::string_view source,
auto& value) {
59 [&](std::string_view name) {
60 error =
"<" + std::string(label) +
"> has an unsupported attribute "
bool decode_text_field(std::string_view name, std::string_view source, T &value, std::string_view label, std::string &error)
Decode one authored text value into a described member.
Conversion of authored text to one value type.