diff --git a/include/boost/container/hub.hpp b/include/boost/container/hub.hpp index d45ee77..47718bd 100644 --- a/include/boost/container/hub.hpp +++ b/include/boost/container/hub.hpp @@ -36,6 +36,8 @@ #include #endif +#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED + #if defined(BOOST_NO_CXX20_HDR_CONCEPTS) || defined(BOOST_NO_CXX20_HDR_RANGES) #define BOOST_CONTAINER_HUB_NO_RANGES #elif BOOST_WORKAROUND(BOOST_CLANG_VERSION, < 170100) && \ @@ -113,10 +115,14 @@ do{ \ #pragma warning(disable:4714) /* marked as __forceinline not inlined */ #endif +#endif //BOOST_CONTAINER_DOXYGEN_INVOKED + namespace boost { namespace container { +#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED + template> class hub; @@ -973,6 +979,8 @@ struct block_typedefs } /* namespace container::hub_detail */ +#endif //BOOST_CONTAINER_DOXYGEN_INVOKED + //! A hub is a container with constant-time insertion and erasure and element //! stability: pointers and iterators to an element remain valid until the //! element is erased. It is a nearly drop-in, more compact alternative to the @@ -1730,7 +1738,7 @@ public: { return const_cast(this)->get_iterator(p); } - +#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED private: template friend std::pair::iterator, F> for_each_while( @@ -2207,8 +2215,12 @@ private: block_list blist; size_type num_blocks = 0; size_type size_ = 0; + + #endif //BOOST_CONTAINER_DOXYGEN_INVOKED }; +#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED + #if !defined(BOOST_NO_CXX17_DEDUCTION_GUIDES) template< typename InputIterator, @@ -2229,6 +2241,8 @@ hub(from_range_t, R&&, Allocator = Allocator()) #endif #endif +#endif //BOOST_CONTAINER_DOXYGEN_INVOKED + //! Effects: Equivalent to x.swap(y). //! //! Complexity: Constant.