summaryrefslogtreecommitdiff
path: root/boost/poly_collection/detail/iterator_traits.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/poly_collection/detail/iterator_traits.hpp')
-rw-r--r--boost/poly_collection/detail/iterator_traits.hpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/boost/poly_collection/detail/iterator_traits.hpp b/boost/poly_collection/detail/iterator_traits.hpp
index 732535a8b4..f6be219fda 100644
--- a/boost/poly_collection/detail/iterator_traits.hpp
+++ b/boost/poly_collection/detail/iterator_traits.hpp
@@ -20,6 +20,13 @@ namespace boost{
namespace poly_collection{
+namespace common_impl{
+
+template<typename Model,typename Allocator>
+class poly_collection;
+
+}
+
namespace detail{
/* (Internal) bunch of traits-grouped functions for const-preserving
@@ -33,18 +40,11 @@ struct poly_collection_of /* to be specialized for iterator impls */
using type=void;
};
-namespace poly_collection_impl{
-
-template<typename Model,typename Allocator>
-class poly_collection;
-
-}
-
template<typename PolyCollection>
struct model_of;
template<typename Model,typename Allocator>
-struct model_of<poly_collection_impl::poly_collection<Model,Allocator>>
+struct model_of<common_impl::poly_collection<Model,Allocator>>
{
using type=Model;
};