From 3c6f4ea2ed3673c345ddf845472eb15ec4a701e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Wed, 20 Dec 2017 13:12:47 +0100 Subject: [PATCH] Forward declare correction vector iterator --- .../boost/container/detail/copy_move_algo.hpp | 20 ++++++------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/include/boost/container/detail/copy_move_algo.hpp b/include/boost/container/detail/copy_move_algo.hpp index b6b3bf6..12d1d21 100644 --- a/include/boost/container/detail/copy_move_algo.hpp +++ b/include/boost/container/detail/copy_move_algo.hpp @@ -65,17 +65,15 @@ struct are_elements_contiguous< ::boost::move_iterator > : are_elements_contiguous {}; +} //namespace dtl { + ///////////////////////// // predeclarations ///////////////////////// -template -class vector_iterator; +template +class vec_iterator; -template -class vector_const_iterator; - -} //namespace dtl { } //namespace container { namespace interprocess { @@ -93,14 +91,8 @@ namespace dtl { //vector_[const_]iterator ///////////////////////// -template -struct are_elements_contiguous > -{ - static const bool value = true; -}; - -template -struct are_elements_contiguous > +template +struct are_elements_contiguous > { static const bool value = true; };