From f7aa9a893587b4a2b1e75fb4e756f0236eea0580 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sun, 1 Mar 2009 17:04:14 +0000 Subject: [PATCH] Refs #2128 (fixed in trunk.) [SVN r51512] --- include/boost/ref.hpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/boost/ref.hpp b/include/boost/ref.hpp index 9c996ab..6058d69 100644 --- a/include/boost/ref.hpp +++ b/include/boost/ref.hpp @@ -179,6 +179,11 @@ unwrap_ref(T& t) return t; } +template inline T* get_pointer( reference_wrapper const & r ) +{ + return r.get_pointer(); +} + } // namespace boost #endif // #ifndef BOOST_REF_HPP_INCLUDED