From 4d407c8282dc98c2d7998f16d1bb6e2ffdd1a807 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Sun, 26 Apr 2026 00:39:49 +0200 Subject: [PATCH] Make wrapped_iterator convertible to the original --- include/boost/container/experimental/wrapped_iterator.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/container/experimental/wrapped_iterator.hpp b/include/boost/container/experimental/wrapped_iterator.hpp index 128edc6..16c83b1 100644 --- a/include/boost/container/experimental/wrapped_iterator.hpp +++ b/include/boost/container/experimental/wrapped_iterator.hpp @@ -63,7 +63,7 @@ public: BOOST_CONTAINER_FORCEINLINE wrapped_iterator() BOOST_NOEXCEPT : m_it() {} BOOST_CONTAINER_FORCEINLINE explicit wrapped_iterator(Iterator it) BOOST_NOEXCEPT : m_it(it) {} - BOOST_CONTAINER_FORCEINLINE Iterator base() const BOOST_NOEXCEPT { return m_it; } + BOOST_CONTAINER_FORCEINLINE operator Iterator () const BOOST_NOEXCEPT { return m_it; } // Forward operations BOOST_CONTAINER_FORCEINLINE reference operator*() const BOOST_NOEXCEPT { return *m_it; }