[C++-sig] [Swig-user] Why this does not work- overriding C++ virtual functions in python script?

Bruce Who bruce.who.hk at gmail.com
Wed May 9 03:13:18 CEST 2007


Hi, Nitro

Thanks for your clue. I've added "directors" to my .i file:

%module(directors="1") cmod
%feature("director");

but it seems that Visual Studio2005 doesnot support this, and it fails
to compile:

f:\swigproj\cmod_wrap.cxx(2733) : error C2039: 'unexpected_handler' :
is not a member of 'std'
f:\swigproj\cmod_wrap.cxx(2734) : error C2039: 'unexpected_handler' :
is not a member of 'std'

I look at the source code and find that it has something to do with
directors. Is there any workaround?

On 5/8/07, Nitro <nitro at dr-code.org> wrote:
> Am 08.05.2007, 14:20 Uhr, schrieb Bruce Who <bruce.who.hk at gmail.com>:
>
>>
>
> Read the "directors" part of the manual.
>
> -Matthias
>



More information about the Cplusplus-sig mailing list