Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

zero_after_free_allocator< T > Struct Template Reference

#include <zeroafterfree.h>

+ Inheritance diagram for zero_after_free_allocator< T >:
+ Collaboration diagram for zero_after_free_allocator< T >:

Classes

struct  rebind
 

Public Types

typedef std::allocator< T > base
 
typedef base::size_type size_type
 
typedef base::difference_type difference_type
 
typedef base::pointer pointer
 
typedef base::const_pointer const_pointer
 
typedef base::reference reference
 
typedef base::const_reference const_reference
 
typedef base::value_type value_type
 

Public Member Functions

 zero_after_free_allocator () noexcept
 
 zero_after_free_allocator (const zero_after_free_allocator &a) noexcept
 
template<typename U >
 zero_after_free_allocator (const zero_after_free_allocator< U > &a) noexcept
 
 ~zero_after_free_allocator () noexcept
 
void deallocate (T *p, std::size_t n)
 

Detailed Description

template<typename T>
struct zero_after_free_allocator< T >

Definition at line 15 of file zeroafterfree.h.

Member Typedef Documentation

◆ base

template<typename T>
typedef std::allocator<T> zero_after_free_allocator< T >::base

Definition at line 17 of file zeroafterfree.h.

◆ const_pointer

template<typename T>
typedef base::const_pointer zero_after_free_allocator< T >::const_pointer

Definition at line 21 of file zeroafterfree.h.

◆ const_reference

template<typename T>
typedef base::const_reference zero_after_free_allocator< T >::const_reference

Definition at line 23 of file zeroafterfree.h.

◆ difference_type

template<typename T>
typedef base::difference_type zero_after_free_allocator< T >::difference_type

Definition at line 19 of file zeroafterfree.h.

◆ pointer

template<typename T>
typedef base::pointer zero_after_free_allocator< T >::pointer

Definition at line 20 of file zeroafterfree.h.

◆ reference

template<typename T>
typedef base::reference zero_after_free_allocator< T >::reference

Definition at line 22 of file zeroafterfree.h.

◆ size_type

template<typename T>
typedef base::size_type zero_after_free_allocator< T >::size_type

Definition at line 18 of file zeroafterfree.h.

◆ value_type

template<typename T>
typedef base::value_type zero_after_free_allocator< T >::value_type

Definition at line 24 of file zeroafterfree.h.

Constructor & Destructor Documentation

◆ zero_after_free_allocator() [1/3]

template<typename T>
zero_after_free_allocator< T >::zero_after_free_allocator ( )
inlinenoexcept

Definition at line 25 of file zeroafterfree.h.

◆ zero_after_free_allocator() [2/3]

template<typename T>
zero_after_free_allocator< T >::zero_after_free_allocator ( const zero_after_free_allocator< T > &  a)
inlinenoexcept

Definition at line 26 of file zeroafterfree.h.

◆ zero_after_free_allocator() [3/3]

template<typename T>
template<typename U >
zero_after_free_allocator< T >::zero_after_free_allocator ( const zero_after_free_allocator< U > &  a)
inlinenoexcept

Definition at line 28 of file zeroafterfree.h.

◆ ~zero_after_free_allocator()

template<typename T>
zero_after_free_allocator< T >::~zero_after_free_allocator ( )
inlinenoexcept

Definition at line 31 of file zeroafterfree.h.

Member Function Documentation

◆ deallocate()

template<typename T>
void zero_after_free_allocator< T >::deallocate ( T *  p,
std::size_t  n 
)
inline

Definition at line 37 of file zeroafterfree.h.

References memory_cleanse().


The documentation for this struct was generated from the following file:
Released under the MIT license