[C++-sig] problems with lvalue_from_pytype

David Abrahams dave at boost-consulting.com
Sat Nov 23 04:15:51 CET 2002

Aleksey Gurtovoy <agurtovoy at meta-comm.com> writes:

> Mark Russell wrote:
>> If vc supported partial specialization I take it that I could 
>> do the following:
>> > 		return remove_pointer<HWND>::type&hmagic;
>> But since it doesn't I need to find a work around.  
> All you need to do to make the above work on MSVC (or any other compiler
> that does not support partial class template specialization) is to write
>     #include "boost/type_traits/broken_compiler_spec.hpp"
> somewhere in a header that gets included everywhere where the type traits
> constructs are used on HWNDs. 

Ahh, wouldn't that have to be

     #include "boost/type_traits/broken_compiler_spec.hpp"

                       David Abrahams
   dave at boost-consulting.com * http://www.boost-consulting.com
Boost support, enhancements, training, and commercial distribution

More information about the Cplusplus-sig mailing list