PCL
|
An object deleter that uses the standard delete operator. More...
#include <AutoPointer.h>
Public Types | |
using | pointer = T * |
using | value_type = T |
Public Member Functions | |
void | operator() (pointer p) const |
Deleter objects are used by smart pointer classes (e.g., AutoPointer) to destroy and deallocate dynamically allocated objects. A valid deleter class must implement the following member functions:
StandardDeleter implements object and array destruction/deallocation by calling the standard delete
operator.
Definition at line 95 of file AutoPointer.h.
using pcl::StandardDeleter< T >::pointer = T* |
Represents a pointer to an object to destroy and deallocate.
Definition at line 107 of file AutoPointer.h.
using pcl::StandardDeleter< T >::value_type = T |
Represents the type of objects to destroy and deallocate.
Definition at line 102 of file AutoPointer.h.
|
inline |
Function call operator. Destroys and deallocates the object pointed to by the specified pointer p.
Definition at line 113 of file AutoPointer.h.