A functor to release the memory acquired by CreateValue (memory and constructor).
This implementation works for types with a trivial destructor. More complex fields implement a derived deleter. The deleter is operational without the field object and thus can be used to destruct/release a value after the field has been destructed.
Definition at line 107 of file RField.hxx.
Public Member Functions | |
virtual | ~RDeleter ()=default |
virtual void | operator() (void *objPtr, bool dtorOnly) |
#include <ROOT/RField.hxx>
|
virtualdefault |
|
inlinevirtual |
Reimplemented in ROOT::Experimental::RFieldBase::RTypedDeleter< T >, ROOT::Experimental::RClassField::RClassDeleter, ROOT::Experimental::RProxiedCollectionField::RProxiedCollectionDeleter, ROOT::Experimental::RRecordField::RRecordDeleter, ROOT::Experimental::RVectorField::RVectorDeleter, ROOT::Experimental::RRVecField::RRVecDeleter, ROOT::Experimental::RArrayField::RArrayDeleter, ROOT::Experimental::RVariantField::RVariantDeleter, ROOT::Experimental::RUniquePtrField::RUniquePtrDeleter, and ROOT::Experimental::RTupleField::RTupleDeleter.
Definition at line 110 of file RField.hxx.