Node: Modifying Shapes, Next: , Previous: Copying Shapes, Up: Shape Reference



Modifying

bool set_on_free_store (bool b = true) Pure virtual function
Sets the data member on_free_store to b. All classes derived from Shape must therefore also have a data member on_free_store.

This function is used in the template function create_new<type>. See Dynamic Allocation of Shapes, for more information.