+ 1

Destructors can be overloaded

T/F

13th Dec 2019, 6:28 AM
devendra soni
devendra soni - avatar
7 Answers
+ 8
~ swim ~ Dinchya know that destructors can receive parameters that will do things like: ~Foo() ~Foo(bool justKidding) ~Foo(int destructivePower) ~Foo(string eulogy) ~Foo(int destructivePower, string eulogy) 😜
13th Dec 2019, 8:12 AM
David Carroll
David Carroll - avatar
+ 5
Have no idea what that wink is supposed to mean David Carroll . My nose is clear of boogers. Apologies to the OP for the off topic conversation.
15th Dec 2019, 3:25 AM
Sonic
Sonic - avatar
+ 4
David Carroll you missed ~Foo(double doubleDestructivePower) and ~Foo(char charThisObject)
15th Dec 2019, 2:49 AM
Sonic
Sonic - avatar
+ 2
Sonic Indeed... Thank goodness for community contributions. 😉
15th Dec 2019, 3:16 AM
David Carroll
David Carroll - avatar
0
No
14th Dec 2019, 5:32 PM
Amit Kumar
Amit Kumar - avatar