set/dset: add scalar add

This commit is contained in:
Danny Robson 2020-11-10 11:26:01 +10:00
parent 95f05cd632
commit 5b38c030fa

View File

@ -64,6 +64,12 @@ namespace cruft::set {
m_size += count;
}
/// Add the value to the set
void add (ValueT const &val)
{
return add (1, val);
}
/// A list of items to remove from this store.
///
/// Items must be in sorted order, and must be a subset of this