From 59ffb87b9d02691ffd4f7940f84e8433c6a434ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Thu, 8 Sep 2011 06:58:18 +0000 Subject: [PATCH] Documentation fixes [SVN r74306] --- doc/Jamfile.v2 | 2 +- doc/move.qbk | 8 ++++---- example/doc_clone_ptr.cpp | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/Jamfile.v2 b/doc/Jamfile.v2 index f970d61..55c1702 100644 --- a/doc/Jamfile.v2 +++ b/doc/Jamfile.v2 @@ -13,7 +13,7 @@ import quickbook ; doxygen autodoc : - [ glob ../../../boost/move/*.hpp ] + [ glob ../../../boost/move/move.hpp ] : HIDE_UNDOC_MEMBERS=YES HIDE_UNDOC_MEMBERS=YES diff --git a/doc/move.qbk b/doc/move.qbk index 1275a56..5cc8a99 100644 --- a/doc/move.qbk +++ b/doc/move.qbk @@ -717,10 +717,10 @@ operators to references to `::boost::rv`: #define BOOST_MOVABLE_BUT_NOT_COPYABLE(TYPE)\ public:\ - operator ::BOOST_MOVE_NAMESPACE::rv&() \ - { return *reinterpret_cast< ::BOOST_MOVE_NAMESPACE::rv* >(this); }\ - operator const ::BOOST_MOVE_NAMESPACE::rv&() const \ - { return *reinterpret_cast* >(this); }\ + operator ::boost::rv&() \ + { return *static_cast< ::boost::rv* >(this); }\ + operator const ::boost::rv&() const \ + { return static_cast* >(this); }\ private:\ //More stuff... diff --git a/example/doc_clone_ptr.cpp b/example/doc_clone_ptr.cpp index e86e64b..280c94c 100644 --- a/example/doc_clone_ptr.cpp +++ b/example/doc_clone_ptr.cpp @@ -18,7 +18,7 @@ class Base public: Base(){} - // Compiler-generated copy constructor... + Base(const Base &x) {/**/} // Copy ctor Base(BOOST_RV_REF(Base) x) {/**/} // Move ctor