aboutsummaryrefslogtreecommitdiff
path: root/doc/api/cplusplus/examples/example_metadata_key.cc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api/cplusplus/examples/example_metadata_key.cc')
-rw-r--r--doc/api/cplusplus/examples/example_metadata_key.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/api/cplusplus/examples/example_metadata_key.cc b/doc/api/cplusplus/examples/example_metadata_key.cc
index fffa6ea13..264317b7c 100644
--- a/doc/api/cplusplus/examples/example_metadata_key.cc
+++ b/doc/api/cplusplus/examples/example_metadata_key.cc
@@ -172,6 +172,13 @@ namespace
cout << indent << left << setw(30) << " Value:" << " " << join(value->begin(), value->end(), " ") << endl;
}
+ void visit(const MetadataCollectionKey<Maintainers> & key)
+ {
+ auto value(key.parse_value());
+ cout << indent << left << setw(30) << " Class:" << " " << "MetadataCollectionKey<Maintainers>" << endl;
+ cout << indent << left << setw(30) << " Value:" << " " << join(value->begin(), value->end(), " ") << endl;
+ }
+
void visit(const MetadataCollectionKey<FSPathSequence> & key)
{
auto value(key.parse_value());