1
0
forked from boostorg/core

Ref: Remove obsolete MSVC version check.

[SVN r86031]
This commit is contained in:
Stephen Kelly
2013-09-30 00:19:48 +00:00
committed by Peter Dimov
parent af1562624b
commit 5ee57dd469

View File

@@ -34,16 +34,8 @@ template<class T> class reference_wrapper
public:
typedef T type;
#if defined( BOOST_MSVC ) && BOOST_WORKAROUND( BOOST_MSVC, < 1300 )
explicit reference_wrapper(T& t): t_(&t) {}
#else
explicit reference_wrapper(T& t): t_(boost::addressof(t)) {}
#endif
operator T& () const { return *t_; }
T& get() const { return *t_; }