Bitcoin ABC 0.30.5
P2P Digital Currency
Classes | Public Types | Public Member Functions | List of all members
zero_after_free_allocator< T > Struct Template Reference

#include <zeroafterfree.h>

Inheritance diagram for zero_after_free_allocator< T >:
[legend]
Collaboration diagram for zero_after_free_allocator< T >:
[legend]

Classes

struct  rebind
 

Public Types

using base = std::allocator< T >
 
using traits = std::allocator_traits< base >
 
using size_type = typename traits::size_type
 
using difference_type = typename traits::difference_type
 
using pointer = typename traits::pointer
 
using const_pointer = typename traits::const_pointer
 
using value_type = typename traits::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 >
using zero_after_free_allocator< T >::base = std::allocator<T>

Definition at line 16 of file zeroafterfree.h.

◆ const_pointer

template<typename T >
using zero_after_free_allocator< T >::const_pointer = typename traits::const_pointer

Definition at line 21 of file zeroafterfree.h.

◆ difference_type

template<typename T >
using zero_after_free_allocator< T >::difference_type = typename traits::difference_type

Definition at line 19 of file zeroafterfree.h.

◆ pointer

template<typename T >
using zero_after_free_allocator< T >::pointer = typename traits::pointer

Definition at line 20 of file zeroafterfree.h.

◆ size_type

template<typename T >
using zero_after_free_allocator< T >::size_type = typename traits::size_type

Definition at line 18 of file zeroafterfree.h.

◆ traits

template<typename T >
using zero_after_free_allocator< T >::traits = std::allocator_traits<base>

Definition at line 17 of file zeroafterfree.h.

◆ value_type

template<typename T >
using zero_after_free_allocator< T >::value_type = typename traits::value_type

Definition at line 22 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 23 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 24 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 27 of file zeroafterfree.h.

◆ ~zero_after_free_allocator()

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

Definition at line 29 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 34 of file zeroafterfree.h.

Here is the call graph for this function:

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