
19 Feb
2010
19 Feb
'10
11:35 p.m.
On 20.02.2010 2:04, Zachary Turner wrote:
On Fri, Feb 19, 2010 at 9:50 AM, Zachary Turner<divisortheory@gmail.com>wrote:
In the meantime, how about implementing a workaround for MSVC10 release candidate that simply uses std::tr1::is_convertible?
template< class Y, class T> struct sp_convertible { enum _vt { value = std::is_convertible<Y*, T*>::value }; };
works fine.
Just a side note. While making such workarounds, please, don't forget about non-MSVC STL implementations, such as STLPort. AFAIK, it doesn't have TR1 in it.