How to detect if a derived class has its destructor declared private
?
I'm trying to use a SFINAE trick to detect if the destructor is accessible but I keep being failing.
I took a look at boost type traits and I did not find any has_private_destructor()
.
Is it only possible?