From d509b2ceff3a4def6d104bc98f0dad3ad85a9ec6 Mon Sep 17 00:00:00 2001 From: Patrick Roberts Date: Tue, 5 May 2026 13:48:22 -0500 Subject: [PATCH] Non-const size and reserve_hint --- include/beman/any_view/any_view.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/beman/any_view/any_view.hpp b/include/beman/any_view/any_view.hpp index ae7d35e..bc91b47 100644 --- a/include/beman/any_view/any_view.hpp +++ b/include/beman/any_view/any_view.hpp @@ -187,13 +187,13 @@ class any_view : public std::ranges::view_interface>(poly); } - [[nodiscard]] constexpr size_type reserve_hint() const + [[nodiscard]] constexpr size_type reserve_hint() requires approximately_sized { return dispatch>(poly);