cds
2.3.2
|
Cleaner that calls T
destructor if it is not trivial.
More...
#include <cds/opt/value_cleaner.h>
Cleaner that calls T
destructor if it is not trivial.
If T
has non-trivial destructor ( std::is_trivially_destructible<T>::value
is false
), the cleaner calls T
destructor.
If std::is_trivially_destructible<T>::value
is true
, the cleaner is empty - no destructor of T
is called.