previous up next     contents index
Next: Examples Up: C++ Structures in Scheme Previous: Exceptions to the Rule

Virtual Methods

 

When a C++ class method is declared virtual and a new class is derived from the C++ within Scheme, then the virtual C++ method can be overridden by supplying a method within the derived Scheme class. The override applies even if the method is called from C++ code.



PLT