From 5ea8e2492399e33b20695611f25b242ce9ae0d9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Thu, 26 Feb 2015 00:15:23 +0100 Subject: [PATCH] Update "are_elements_contiguous" for move iterators. --- include/boost/container/detail/copy_move_algo.hpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/include/boost/container/detail/copy_move_algo.hpp b/include/boost/container/detail/copy_move_algo.hpp index 1b4e342..396bd10 100644 --- a/include/boost/container/detail/copy_move_algo.hpp +++ b/include/boost/container/detail/copy_move_algo.hpp @@ -54,6 +54,15 @@ struct are_elements_contiguous static const bool value = true; }; +///////////////////////// +// move iterators +///////////////////////// + +template +struct are_elements_contiguous< ::boost::move_iterator > + : are_elements_contiguous +{}; + ///////////////////////// // predeclarations /////////////////////////