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 81 of file RFieldBase.hxx.
Public Member Functions | |
virtual | ~RDeleter ()=default |
virtual void | operator() (void *objPtr, bool dtorOnly) |
#include <ROOT/RFieldBase.hxx>
|
virtualdefault |
|
inlinevirtual |
Reimplemented in ROOT::Experimental::RClassField::RClassDeleter, ROOT::Experimental::RStreamerField::RStreamerFieldDeleter, ROOT::Experimental::RProxiedCollectionField::RProxiedCollectionDeleter, ROOT::Experimental::RRecordField::RRecordDeleter, ROOT::Experimental::RArrayField::RArrayDeleter, ROOT::Experimental::RRVecField::RRVecDeleter, ROOT::Experimental::RVectorField::RVectorDeleter, ROOT::Experimental::ROptionalField::ROptionalDeleter, ROOT::Experimental::RUniquePtrField::RUniquePtrDeleter, ROOT::Experimental::RVariantField::RVariantDeleter, and ROOT::Experimental::RFieldBase::RTypedDeleter< T >.
Definition at line 84 of file RFieldBase.hxx.