OSDN Git Service

2009-06-09 Benjamin Kosnik <bkoz@redhat.com>
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 Jun 2009 02:14:32 +0000 (02:14 +0000)
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 Jun 2009 02:14:32 +0000 (02:14 +0000)
* include/bits/move.h: Doxygen group fixes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148337 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/move.h

index 9d3bf47..d8d9361 100644 (file)
@@ -1,3 +1,7 @@
+2009-06-09  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * include/bits/move.h: Doxygen group fixes.
+
 2009-06-08  Paolo Carlini  <paolo.carlini@oracle.com>
 
        * include/bits/random.tcc (gamma_distribution<>::operator()
index ef86c4d..25773e1 100644 (file)
 
 _GLIBCXX_BEGIN_NAMESPACE(std)
 
-  // 20.2.2, forward/move
+  /// identity
   template<typename _Tp>
     struct identity
     {
       typedef _Tp type;
     };
 
+  /// forward
   template<typename _Tp>
     inline _Tp&&
     forward(typename std::identity<_Tp>::type&& __t)
     { return __t; }
 
+  /**
+   *  @brief Move a value.
+   *  @ingroup mutating_algorithms
+   *  @param  __t  A thing of arbitrary type.
+   *  @return Same, moved.
+  */
   template<typename _Tp>
     inline typename std::remove_reference<_Tp>::type&&
     move(_Tp&& __t)
@@ -67,8 +74,9 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
 
   /**
    *  @brief Swaps two values.
-   *  @param  a  A thing of arbitrary type.
-   *  @param  b  Another thing of arbitrary type.
+   *  @ingroup mutating_algorithms
+   *  @param  __a  A thing of arbitrary type.
+   *  @param  __b  Another thing of arbitrary type.
    *  @return   Nothing.
   */
   template<typename _Tp>