$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r61344 - trunk/boost/smart_ptr/detail
From: steven_at_[hidden]
Date: 2010-04-17 16:13:28
Author: steven_watanabe
Date: 2010-04-17 16:13:27 EDT (Sat, 17 Apr 2010)
New Revision: 61344
URL: http://svn.boost.org/trac/boost/changeset/61344
Log:
Work around over-eager ADL with msvc-10.0. Refs #4108
Text files modified:
trunk/boost/smart_ptr/detail/sp_convertible.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/boost/smart_ptr/detail/sp_convertible.hpp
==============================================================================
--- trunk/boost/smart_ptr/detail/sp_convertible.hpp (original)
+++ trunk/boost/smart_ptr/detail/sp_convertible.hpp 2010-04-17 16:13:27 EDT (Sat, 17 Apr 2010)
@@ -45,7 +45,7 @@
static yes f( T* );
static no f( ... );
- enum _vt { value = sizeof( f( static_cast<Y*>(0) ) ) == sizeof(yes) };
+ enum _vt { value = sizeof( (f)( static_cast<Y*>(0) ) ) == sizeof(yes) };
};
struct sp_empty