μHAL (v2.7.9)
Part of the IPbus software repository
Public Types | Public Member Functions | Public Attributes | List of all members
auto_deleter< T > Struct Template Reference

Public Types

typedef void(* D) (T *)
 

Public Member Functions

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

Public Attributes

T * data
 
D deleter
 

Detailed Description

template<typename T>
struct auto_deleter< T >

Definition at line 262 of file pugixml.cpp.

Member Typedef Documentation

◆ D

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

Definition at line 264 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 269 of file pugixml.cpp.

◆ ~auto_deleter()

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

Definition at line 273 of file pugixml.cpp.

References auto_deleter< T >::data, and auto_deleter< T >::deleter.

Member Function Documentation

◆ release()

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

Definition at line 278 of file pugixml.cpp.

References auto_deleter< T >::data.

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

Member Data Documentation

◆ data

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

◆ deleter

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

Definition at line 267 of file pugixml.cpp.

Referenced by auto_deleter< T >::~auto_deleter().


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