Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r82363 - trunk/boost/intrusive
From: igaztanaga_at_[hidden]
Date: 2013-01-05 11:52:22


Author: igaztanaga
Date: 2013-01-05 11:52:22 EST (Sat, 05 Jan 2013)
New Revision: 82363
URL: http://svn.boost.org/trac/boost/changeset/82363

Log:
Doxygen creates wrong namespace and unneeded macro documentation, so fix it.
Text files modified:
   trunk/boost/intrusive/options.hpp | 4 ++++
   trunk/boost/intrusive/pointer_plus_bits.hpp | 6 +++++-
   2 files changed, 9 insertions(+), 1 deletions(-)

Modified: trunk/boost/intrusive/options.hpp
==============================================================================
--- trunk/boost/intrusive/options.hpp (original)
+++ trunk/boost/intrusive/options.hpp 2013-01-05 11:52:22 EST (Sat, 05 Jan 2013)
@@ -33,6 +33,8 @@
 
 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 @@
 
 #undef BOOST_INTRUSIVE_DEFAULT_HOOK_MARKER_DEFINITION
 
+#endif //BOOST_INTRUSIVE_DOXYGEN_INVOKED
+
 template <class ValueTraits>
 struct eval_value_traits
 {

Modified: trunk/boost/intrusive/pointer_plus_bits.hpp
==============================================================================
--- trunk/boost/intrusive/pointer_plus_bits.hpp (original)
+++ trunk/boost/intrusive/pointer_plus_bits.hpp 2013-01-05 11:52:22 EST (Sat, 05 Jan 2013)
@@ -47,7 +47,11 @@
 //!has_pointer_plus_bits<>::value is non-zero can make use of these
 //!operations to embed the bits in the pointer.
 template<class Pointer, std::size_t NumBits>
-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.


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk