Documentation work

This commit is contained in:
Vinnie Falco committed 2017-07-20 08:12:19 -07:00
1 parent eaa820df30
commit 669b1feae1
7 files changed
+208 -139

No files matched your search

+10
View File
@@ -196,6 +196,16 @@ public:
return list_.cend();
}
/// Return `true` if the specified field exists.
bool
exists(field f) const
{
// VFALCO Should we throw here?
if(f == field::unknown)
return false;
return set_.find(to_string(f), less{}) != set_.end();
}
/// Return `true` if the specified field exists.
bool
exists(string_view name) const