Skip to content

Commit 8c81f1c

Browse files
committed
operator= is also freestanding delete
1 parent 567c6c1 commit 8c81f1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/beman/inplace_vector/inplace_vector.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -676,10 +676,10 @@ struct inplace_vector
676676
requires(std::constructible_from<
677677
T, std::ranges::range_reference_t<std::initializer_list<T>>> &&
678678
std::movable<T>)
679-
{
679+
BEMAN_IV_FREESTANDING_DELETE({
680680
assign_range(il);
681681
return *this;
682-
}
682+
});
683683

684684
constexpr void
685685
swap(inplace_vector &x) noexcept(N == 0 ||

0 commit comments

Comments
 (0)