CARLA
Public Types | Public Member Functions | Public Attributes | List of all members
auto_deleter< T > Struct Template Reference
+ Collaboration diagram for auto_deleter< T >:

Public Types

typedef void(* D) (T *)
 

Public Member Functions

 auto_deleter (T *data_, D deleter_)
 
T * release ()
 
 ~auto_deleter ()
 

Public Attributes

T * data
 
D deleter
 

Detailed Description

template<typename T>
struct auto_deleter< T >

Definition at line 268 of file pugixml.cpp.

Member Typedef Documentation

◆ D

template<typename T>
typedef void(* auto_deleter< T >::D) (T *)

Definition at line 270 of file pugixml.cpp.

Constructor & Destructor Documentation

◆ auto_deleter()

template<typename T>
auto_deleter< T >::auto_deleter ( T *  data_,
D  deleter_ 
)
inline

Definition at line 275 of file pugixml.cpp.

◆ ~auto_deleter()

template<typename T>
auto_deleter< T >::~auto_deleter ( )
inline

Definition at line 279 of file pugixml.cpp.

Member Function Documentation

◆ release()

template<typename T>
T* auto_deleter< T >::release ( )
inline

Definition at line 284 of file pugixml.cpp.

References xml_memory_management_function_storage< T >::allocate, xml_memory_management_function_storage< T >::deallocate, PUGI__FN_NO_INLINE, PUGI__NS_BEGIN, PUGI__NS_END, PUGI__UNSIGNED_OVERFLOW, and xml_memory_block_alignment.

Referenced by load_stream_data_seek(), and pugi::xpath_query::xpath_query().

+ Here is the caller graph for this function:

Member Data Documentation

◆ data

template<typename T>
T* auto_deleter< T >::data

◆ deleter

template<typename T>
D auto_deleter< T >::deleter

Definition at line 273 of file pugixml.cpp.


The documentation for this struct was generated from the following file: