Next: Returning Elements and Information Solids, Previous: Setting Solid Members, Up: Solid Reference
const
virtual function: bool is_on_free_store (void
)Returns the value of
on_free_store
;true
, if theSolid
was dynamically allocated on the free store, otherwisefalse
.Solids
, and objects of classes derived fromSolid
, should only ever be allocated on the free store by a specialization of the template functioncreate_new()
. See Solid Reference; Constructors and Setting Functions.