Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/vector.h
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,10 @@ class Vector {
ConstIterator end() const noexcept;

// O(N) strong
Iterator insert(ConstIterator pos, const T& value);
Iterator insert(ConstIterator pos, const T& value) requires (std::is_copy_assignable_v<T>);

// O(N) strong if move nothrow
Iterator insert(ConstIterator pos, T&& value);
Iterator insert(ConstIterator pos, T&& value) requires (std::is_move_assignable_v<T>);

// O(N) nothrow(swap)
Iterator erase(ConstIterator pos);
Expand Down