![]() |
|
#5
|
|||
|
|||
|
When overriding classes the constructor is called automatically in the constructor of the inheriting class (before the constructor of the inheriting class). Same with the deconstructor.
To call the base function explicitely use the syntax Base::Function, you should never call deconstructors explicitely though. Use delete of your class is an object allocated with new. |
| The Following 2 Users Gave Reputation+1 to mr.exodia For This Useful Post: | ||
zeuscane (08-15-2014) | ||
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [C] Helper function to call arbitrary x86 Delphi functions | zeffy | Source Code | 0 | 04-13-2018 10:25 |