(no title)
Panzerschrek | 10 days ago
It can. An object with destructor doing clean-up should be created only after such clean-up is needed. In case of a file, for example, a file object should be created at file opening, so that it can close the file in its destructor.
amluto|9 days ago