return std::make_pair(iterator(it), false);
}
+ iterator insert(UNUSED const_iterator hint, const value_type &value) {
+ return insert(value).first;
+ }
+
std::pair<iterator, bool> insert(value_type &&value) {
auto it = std::lower_bound(data.begin(), data.end(), value, comp);
if (it == data.end() || comp(value, *it)) {
return std::make_pair(iterator(it), false);
}
+ iterator insert(UNUSED const_iterator hint, value_type &&value) {
+ return insert(value).first;
+ }
+
template <class InputIt>
void insert(InputIt first, InputIt second) {
for (; first != second; ++first) {