Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r48727 - sandbox/move/boost/move
From: daniel_james_at_[hidden]
Date: 2008-09-11 03:11:18


Author: danieljames
Date: 2008-09-11 03:11:18 EDT (Thu, 11 Sep 2008)
New Revision: 48727
URL: http://svn.boost.org/trac/boost/changeset/48727

Log:
Some extra doxygen comments,
Text files modified:
   sandbox/move/boost/move/move.hpp | 14 ++++++++++++++
   1 files changed, 14 insertions(+), 0 deletions(-)

Modified: sandbox/move/boost/move/move.hpp
==============================================================================
--- sandbox/move/boost/move/move.hpp (original)
+++ sandbox/move/boost/move/move.hpp 2008-09-11 03:11:18 EDT (Thu, 11 Sep 2008)
@@ -154,12 +154,21 @@
 struct boost_move_tag {};
 struct custom_move_tag {};
 
+/*!
+\ingroup move_related
+\brief The move_type trait is used to identify which move technique should be
+used for this type.
+*/
 template <typename T, class Enable = void>
 struct move_type :
     boost::mpl::if_<is_boost_movable<T>, boost_move_tag,
         typename boost::mpl::if_<boost::detail::has_swap_overload<T>,
             swap_tag, copy_tag>::type > {};
 
+/*!
+\ingroup move_related
+\brief Set the move technique for std::auto_ptr.
+*/
 template <class T>
 struct move_type<std::auto_ptr<T> > {
     typedef custom_move_tag type;
@@ -411,6 +420,11 @@
 
 /*************************************************************************************************/
 
+/*!
+\ingroup move_related
+\brief Placement move construction for std::auto_ptr.
+*/
+
 template <class T>
 inline void move_construct(std::auto_ptr<T>* p, std::auto_ptr<T>& x) {
     ::new(static_cast<void*>(p)) std::auto_ptr<T>(x);


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