[C++-sig] Calling overidden pure virtual function from C++ side

Stefan Seefeld seefeld at sympatico.ca
Thu Aug 21 20:01:58 CEST 2008


william marié wrote:
>
>
>     > struct AWrap : A, bp::wrapper
>     > {
>     >        void foo()
>     >        {
>     >                this->get_override( "foo" );
>     >        }
>     > };
>

You retrieve the override, but you don't call it. See
http://www.boost.org/doc/libs/1_36_0/libs/python/doc/v2/wrapper.html#examples

HTH,
       Stefan

-- 

      ...ich hab' noch einen Koffer in Berlin...




More information about the Cplusplus-sig mailing list