Skip to content

Commit

Permalink
remove outdated todo
Browse files Browse the repository at this point in the history
  • Loading branch information
liss-h committed Feb 29, 2024
1 parent 435d1ce commit 338bcbb
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions include/dice/template-library/polymorphic_allocator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -661,9 +661,6 @@ namespace dice::template_library {
}
}

// TODO: for some reason variant requires less things to be noexcept https://en.cppreference.com/w/cpp/utility/variant/operator%3D
// TODO: how are they doing it?
// TODO: same for other operators
friend constexpr void swap(polymorphic_allocator &lhs, polymorphic_allocator &rhs) noexcept(std::is_nothrow_swappable_v<Allocator1<T>>
&& std::is_nothrow_destructible_v<Allocator1<T>>
&& std::is_nothrow_move_constructible_v<Allocator1<T>>
Expand Down

0 comments on commit 338bcbb

Please sign in to comment.