Tag: Destructor

Deleted Destructor in C++

Written by on March 4, 2020 in C++ with 0 Comments
Deleted Destructor in C++

Since C++ 11, we can use the keyword delete to declare functions as deleted and thus prohibit the use of these functions in the code. See this article for a brief overview. In particular, the destructor of a class/struct/union can be declared as deleted. In today’s article, I am going to discuss this specific feature in […]

Continue Reading

Top