Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r79706 - sandbox/type_erasure/boost/type_erasure
From: steven_at_[hidden]
Date: 2012-07-23 16:18:25


Author: steven_watanabe
Date: 2012-07-23 16:18:24 EDT (Mon, 23 Jul 2012)
New Revision: 79706
URL: http://svn.boost.org/trac/boost/changeset/79706

Log:
Expand documentation of tuple.
Text files modified:
   sandbox/type_erasure/boost/type_erasure/tuple.hpp | 7 +++++++
   1 files changed, 7 insertions(+), 0 deletions(-)

Modified: sandbox/type_erasure/boost/type_erasure/tuple.hpp
==============================================================================
--- sandbox/type_erasure/boost/type_erasure/tuple.hpp (original)
+++ sandbox/type_erasure/boost/type_erasure/tuple.hpp 2012-07-23 16:18:24 EDT (Mon, 23 Jul 2012)
@@ -34,13 +34,20 @@
     /**
      * Constructs a tuple. Each element of @c args will
      * be used to initialize the corresponding member.
+ * The @ref binding for the tuple elements is determined
+ * by mapping the placeholders in @c T to the corresponding
+ * types in @c U.
      */
     template<class... U>
     explicit tuple(U&&... args);
 };
 
+/**
+ * Returns the Nth @ref any in the tuple.
+ */
 template<int N, class Concept, class... T>
 any<Concept, TN>& get(tuple<Concept, T...>& arg);
+/** \overload */
 template<int N, class Concept, class... T>
 const any<Concept, TN>& get(const tuple<Concept, T...>& arg);
 


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