Skip to content
Merged
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 include/beman/any_view/any_view.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -187,13 +187,13 @@ class any_view : public std::ranges::view_interface<any_view<ElementT, OptsV, Re

[[nodiscard]] constexpr sentinel end() { return std::default_sentinel; }

[[nodiscard]] constexpr size_type size() const
[[nodiscard]] constexpr size_type size()
requires sized
{
return dispatch<detail::reserve_hint_t<DiffT>>(poly);
}

[[nodiscard]] constexpr size_type reserve_hint() const
[[nodiscard]] constexpr size_type reserve_hint()
requires approximately_sized
{
return dispatch<detail::reserve_hint_t<DiffT>>(poly);
Expand Down
Loading