Documentation work

This commit is contained in:
Vinnie Falco
2017-06-09 13:41:03 -07:00
parent 13c64e3439
commit ccee1392eb
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