mirror of
https://github.com/boostorg/utility.git
synced 2025-05-09 15:04:00 +00:00
Ref: Remove obsolete MSVC version check.
[SVN r86031]
This commit is contained in:
parent
1fd5883b34
commit
adf57817ec
@ -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_; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user