[C++-sig] Virtual functions with default implementation.

David Abrahams dave at boost-consulting.com
Tue Dec 17 19:20:40 CET 2002


Jacek Generowicz <jacek.generowicz at cern.ch> writes:

> By copying and pasting the example code from
>
> http://www.boost.org/libs/python/doc/tutorial/doc/class_virtual_functions.html
>
> I constucted the following test program.
>
>
> This fails to compile (errors included below for completenes) with gcc
> 3.2 (and Boost 1.29).
>
> Is it me, is it the docs, or something else ?


It's the docs, (and the warnings are due to minor errors in Boost
1.29.0's preprocessor library).

I suggest trying the latest CVS:

http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/boost/boost/libs/python/doc/tutorial/doc/class_virtual_functions.html


-- 
                       David Abrahams
   dave at boost-consulting.com * http://www.boost-consulting.com
Boost support, enhancements, training, and commercial distribution





More information about the Cplusplus-sig mailing list