From 570e79a6771b7ce205e0d4d195a147df691fd56a Mon Sep 17 00:00:00 2001 From: Andrey Semashev Date: Sun, 14 Apr 2019 00:02:57 +0300 Subject: [PATCH] Move small_vector_base forward-declaration to container_fwd.hpp. --- include/boost/container/container_fwd.hpp | 4 ++++ include/boost/container/small_vector.hpp | 7 ------- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/include/boost/container/container_fwd.hpp b/include/boost/container/container_fwd.hpp index b7591cd..0cbc991 100644 --- a/include/boost/container/container_fwd.hpp +++ b/include/boost/container/container_fwd.hpp @@ -24,6 +24,7 @@ //! - boost::container::vector //! - boost::container::stable_vector //! - boost::container::static_vector +//! - boost::container::small_vector_base //! - boost::container::small_vector //! - boost::container::slist //! - boost::container::list @@ -108,6 +109,9 @@ class stable_vector; template class static_vector; +template +class small_vector_base; + template < class T, std::size_t N , class Allocator = void > class small_vector; diff --git a/include/boost/container/small_vector.hpp b/include/boost/container/small_vector.hpp index 83f1cad..ac24903 100644 --- a/include/boost/container/small_vector.hpp +++ b/include/boost/container/small_vector.hpp @@ -48,13 +48,6 @@ namespace boost { namespace container { -#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED - -template -class small_vector_base; - -#endif - //! A non-standard allocator used to implement `small_vector`. //! Users should never use it directly. It is described here //! for documentation purposes.