Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r51534 - in branches/release: boost libs/bind/test
From: pdimov_at_[hidden]
Date: 2009-03-02 11:32:03


Author: pdimov
Date: 2009-03-02 11:32:03 EST (Mon, 02 Mar 2009)
New Revision: 51534
URL: http://svn.boost.org/trac/boost/changeset/51534

Log:
Merge [51512] to release. Closes #2128.
Added:
   branches/release/libs/bind/test/bind_ref_test.cpp
      - copied unchanged from r51512, /trunk/libs/bind/test/bind_ref_test.cpp
   branches/release/libs/bind/test/mem_fn_ref_test.cpp
      - copied unchanged from r51512, /trunk/libs/bind/test/mem_fn_ref_test.cpp
Text files modified:
   branches/release/boost/ref.hpp | 5 +++++
   branches/release/libs/bind/test/Jamfile.v2 | 2 ++
   2 files changed, 7 insertions(+), 0 deletions(-)

Modified: branches/release/boost/ref.hpp
==============================================================================
--- branches/release/boost/ref.hpp (original)
+++ branches/release/boost/ref.hpp 2009-03-02 11:32:03 EST (Mon, 02 Mar 2009)
@@ -173,6 +173,11 @@
 
 # endif // BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
 
+template<class T> inline T* get_pointer( reference_wrapper<T> const & r )
+{
+ return r.get_pointer();
+}
+
 } // namespace boost
 
 #endif // #ifndef BOOST_REF_HPP_INCLUDED

Modified: branches/release/libs/bind/test/Jamfile.v2
==============================================================================
--- branches/release/libs/bind/test/Jamfile.v2 (original)
+++ branches/release/libs/bind/test/Jamfile.v2 2009-03-02 11:32:03 EST (Mon, 02 Mar 2009)
@@ -39,4 +39,6 @@
       [ run bind_fn2_test.cpp ]
       [ run bind_mf2_test.cpp ]
       [ run bind_eq2_test.cpp ]
+ [ run mem_fn_ref_test.cpp ]
+ [ run bind_ref_test.cpp ]
     ;


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