You're viewing a single thread.
All comments
5
comments
There's always a destructor though. It may do nothing but it's there.
7 0 ReplyNo need to declare it though ofc.
Rule of 0/3/5
8 0 ReplyYeah the compiler generates it so it's always there
2 0 ReplyWell yes, except when you allocate stuff in the constructor.
2 0 Reply