set/dset: add insert for symmetry with the STL

This commit is contained in:
Danny Robson 2021-02-05 12:03:41 +10:00
parent 146996c4ef
commit 9439f76ddd

View File

@ -79,6 +79,11 @@ namespace cruft::set {
return add (1, val);
}
void insert (ValueT const &val)
{
return add (val);
}
/// A list of items to remove from this store.
///
/// Items must be in sorted order, and must be a subset of this