From: Roman Yakovenko <roman.yakovenko@gm...> - 2006-07-08 18:59:39
Hi. I just committed changes. Those changes have 2 goals:
1. To fix msvc 7.1 compilation bug.
x.def( "__call__", ( void ( X::* )( int ) )( &X::operator() ) );
This code compiles fine with gcc, but could not be compiled with MSVC 7.1
2. To improve generated code readability:
The previous statement will be generated like this:
typedef void (X::*function_ptr_t)( int );
, function_ptr_t( &X::operator() )
, ... )
Sorry for inconvenience, but I think those changes are absolutely necessary.
C++ Python language binding
Get latest updates about Open Source Projects, Conferences and News.