From f8c3d6301619ddef8c5cc62e7714dd67dfa957a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Mon, 30 Mar 2026 11:18:26 +0200 Subject: [PATCH] Fix "compose" in segmented_iterator_traits, the returned deque iterator must be always valid. --- include/boost/container/detail/deque_impl.hpp | 26 +++++++++++++++---- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/include/boost/container/detail/deque_impl.hpp b/include/boost/container/detail/deque_impl.hpp index 35e5bfa..70ef06c 100644 --- a/include/boost/container/detail/deque_impl.hpp +++ b/include/boost/container/detail/deque_impl.hpp @@ -388,16 +388,32 @@ struct segmented_iterator_traits< deque_iterator