C++ for C# developers - virtual destructors

added by DotNetKicks
2/6/2017 2:52:51 PM

1 Kicks, 224 Views

Title: Tokio, Source: own resources, Authors: Agnieszka and Michał Komorowscy In C# it's simple, we use destructors a.k.a. finalizers almost never. The only one case when they are inevitable is the implementation of Disposable pattern. In C++ the situation is different because we don't have the automatic garbage collection.