Thank you very much it was exatly that :)
David Abrahams a écrit :
on Thu Jan 29 2009, William Marié wrote:
Hi David,
Here is the reproducible test ( just change the boost.strap and the python
paths in
the jamroot ) !!
Thanks for your time
void testVirtualPure( BaseCmp* p
on Thu Jan 29 2009, William Marié wrote:
> Hi David,
>
> Here is the reproducible test ( just change the boost.strap and the python
> paths in
> the jamroot ) !!
> Thanks for your time
void testVirtualPure( BaseCmp* pBaseCmp )
{
this->get_override("testVirtualPu
Hi David,
Here is the reproducible test ( just change the boost.strap and the
python paths in the jamroot ) !!
Thanks for your time
David Abrahams a écrit :
on Wed Jan 28 2009, William Marié wrote:
I need to call my testVirtualPure function from C++ side :
BaseCmp* bc = BaseCmp();
Bas
on Wed Jan 28 2009, William Marié wrote:
> I need to call my testVirtualPure function from C++ side :
> BaseCmp* bc = BaseCmp();
> Base* b = Base();
> b->testVirtualPure( bc );
>
> But this causes an error :
> TypeError: No to_python (by-value) converter found for C++ type: class
> BaseCmp
Th
Hi,
I have a little problem, i can't find a way to call a pure virtual function
from C++ on a Python object taking a specific class object as argument :
// Base Class for a component
class BaseCmp
{
public:
~BaseCmp() {};
};
// Base class
class Base
{
public:
Base() {};