Documentation work

This commit is contained in:
Vinnie Falco
2017-07-20 08:12:19 -07:00
parent eaa820df30
commit 669b1feae1
7 changed files with 208 additions and 139 deletions
+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