Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r53602 - branches/release/boost
From: garcia_at_[hidden]
Date: 2009-06-03 10:45:12


Author: garcia
Date: 2009-06-03 10:45:12 EDT (Wed, 03 Jun 2009)
New Revision: 53602
URL: http://svn.boost.org/trac/boost/changeset/53602

Log:
Merge [47295] to release.

Text files modified:
   branches/release/boost/ref.hpp | 6 ++++++
   1 files changed, 6 insertions(+), 0 deletions(-)

Modified: branches/release/boost/ref.hpp
==============================================================================
--- branches/release/boost/ref.hpp (original)
+++ branches/release/boost/ref.hpp 2009-06-03 10:45:12 EDT (Wed, 03 Jun 2009)
@@ -173,6 +173,12 @@
 
 # endif // BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
 
+template <class T> inline typename unwrap_reference<T>::type&
+unwrap_ref(T& t)
+{
+ return t;
+}
+
 template<class T> inline T* get_pointer( reference_wrapper<T> const & r )
 {
     return r.get_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