diff --git a/include/boost/intrusive/options.hpp b/include/boost/intrusive/options.hpp index b1dd944..5449a44 100644 --- a/include/boost/intrusive/options.hpp +++ b/include/boost/intrusive/options.hpp @@ -33,6 +33,8 @@ namespace detail{ struct default_hook_tag{}; +#ifndef BOOST_INTRUSIVE_DOXYGEN_INVOKED + #define BOOST_INTRUSIVE_DEFAULT_HOOK_MARKER_DEFINITION(BOOST_INTRUSIVE_DEFAULT_HOOK_MARKER) \ struct BOOST_INTRUSIVE_DEFAULT_HOOK_MARKER : public default_hook_tag\ {\ @@ -51,6 +53,8 @@ BOOST_INTRUSIVE_DEFAULT_HOOK_MARKER_DEFINITION(default_bs_set_hook); #undef BOOST_INTRUSIVE_DEFAULT_HOOK_MARKER_DEFINITION +#endif //BOOST_INTRUSIVE_DOXYGEN_INVOKED + template struct eval_value_traits { diff --git a/include/boost/intrusive/pointer_plus_bits.hpp b/include/boost/intrusive/pointer_plus_bits.hpp index a2a9f1b..273452c 100644 --- a/include/boost/intrusive/pointer_plus_bits.hpp +++ b/include/boost/intrusive/pointer_plus_bits.hpp @@ -47,7 +47,11 @@ struct max_pointer_plus_bits //!has_pointer_plus_bits<>::value is non-zero can make use of these //!operations to embed the bits in the pointer. template -struct pointer_plus_bits; +struct pointer_plus_bits + #ifdef BOOST_INTRUSIVE_DOXYGEN_INVOKED + {} + #endif +; //!This is the specialization to embed extra bits of information //!in a raw pointer. The extra bits are stored in the lower bits of the pointer.