aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAvatar Fernando J. Pereda <ferdy@ferdyx.org> 2008-02-21 20:43:56 +0000
committerAvatar Fernando J. Pereda <ferdy@ferdyx.org> 2008-02-21 20:43:56 +0000
commitdbad9d5f818882b730626028da3943a6c1039ef7 (patch)
tree3d96775139c17f12ec1592a233e13a2ed3083dda /doc
parent9567079d3b62aba92acaa7b8e9d4c13a1788b034 (diff)
downloadpaludis-dbad9d5f818882b730626028da3943a6c1039ef7.tar.gz
paludis-dbad9d5f818882b730626028da3943a6c1039ef7.tar.xz
Add PackageID::transient_key and use it to avoid reporting
'unpackaged' packages as 'missing'. Fixes ticket:410
Diffstat (limited to 'doc')
-rw-r--r--doc/api/cplusplus/examples/example_metadata_key.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/api/cplusplus/examples/example_metadata_key.cc b/doc/api/cplusplus/examples/example_metadata_key.cc
index 7a057f769..abd8f33e8 100644
--- a/doc/api/cplusplus/examples/example_metadata_key.cc
+++ b/doc/api/cplusplus/examples/example_metadata_key.cc
@@ -64,6 +64,12 @@ namespace
cout << indent << left << setw(30) << " Value:" << " " << key.value() << endl;
}
+ void visit(const MetadataValueKey<bool> & key)
+ {
+ cout << indent << left << setw(30) << " Class:" << " " << "MetadataValueKey<bool>" << endl;
+ cout << indent << left << setw(30) << " Value:" << " " << key.value() << endl;
+ }
+
void visit(const MetadataValueKey<FSEntry> & key)
{
cout << indent << left << setw(30) << " Class:" << " " << "MetadataValueKey<FSEntry>" << endl;