Work around over-eager ADL with msvc-10.0. Refs #4108

[SVN r61344]
This commit is contained in:
Steven Watanabe
2010-04-17 20:13:27 +00:00
parent f7919f0b9f
commit 458dffdab9

View File

@ -45,7 +45,7 @@ template< class Y, class T > struct sp_convertible
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