@Чебурашка
I'm curious, why would you declare the destructor as deprecated?
Because I need the compiler to tell me all places where objects are used/constructed/destructed, because I need move this class' usage within a wrapper class and I want the compiler to help me to do the transition process and prevent (actually warn) from future access to the deprecated. The final goal is that this class can be manually constructed destructed in special cases (and in that case I will manually silence tha warning), but normal usage has to be mediated by a wrapper. Just to add mode details is a set of objects related to database connections, transactions, queries and so on.
Databases are the Viet-nam of programming.
Except for proper programmers.