[C++-sig] exposing a private member function?

Naceur Meskini Naceur.Meskini at sophia.inria.fr
Wed May 17 17:06:53 CEST 2006


Hi everybody,

the situation is :
I have two classes, A and B defined like that:
class A
{
    public:
    insert();
    ......
}
class B: public A
{
    pivate:
    insert();
    ......
}
and I want to expose both to python, is it possible to tell to boost 
that the function insert of B will be private in python.
Is there someone who had encountered this probleme before.
Please tell me if you have an idea.

 thanks a lot.

Naceur
INRIA.



More information about the Cplusplus-sig mailing list