Static Public Member Functions | Static Private Member Functions
absl::allocator_traits< Alloc > Struct Template Reference

#include <memory.h>

List of all members.

Static Public Member Functions

static pointer allocate (Alloc &a, size_type n)
static pointer allocate (Alloc &a, size_type n, const_void_pointer hint)
template<typename T , typename... Args>
static void construct (Alloc &a, T *p, Args &&...args)
static void deallocate (Alloc &a, pointer p, size_type n)
template<typename T >
static void destroy (Alloc &a, T *p)
static size_type max_size (const Alloc &a)
static Alloc select_on_container_copy_construction (const Alloc &a)

Static Private Member Functions

template<typename A >
static auto allocate_impl (int, A &a, size_type n, const_void_pointer hint)-> decltype(a.allocate(n
typename static Args auto construct_impl (int, A &a, Args &&...args)-> decltype(a.construct(std
template<typename T , typename... Args>
static void construct_impl (char, Alloc &, T *p, Args &&...args)
template<typename A , typename T >
static auto destroy_impl (int, A &a, T *p)-> decltype(a.destroy(p))
template<typename T >
static void destroy_impl (char, Alloc &, T *p)
template<typename A >
static auto max_size_impl (int, const A &a)-> decltype(a.max_size())
static size_type max_size_impl (char, const Alloc &)
template<typename A >
static auto select_on_container_copy_construction_impl (int, const A &a)-> decltype(a.select_on_container_copy_construction())
static Alloc select_on_container_copy_construction_impl (char, const Alloc &a)

Detailed Description

template<typename Alloc>
struct absl::allocator_traits< Alloc >

Definition at line 422 of file memory.h.


Member Function Documentation

template<typename Alloc>
static pointer absl::allocator_traits< Alloc >::allocate ( Alloc &  a,
size_type  n 
) [inline, static]

Definition at line 509 of file memory.h.

template<typename Alloc>
static pointer absl::allocator_traits< Alloc >::allocate ( Alloc &  a,
size_type  n,
const_void_pointer  hint 
) [inline, static]

Definition at line 517 of file memory.h.

template<typename Alloc>
template<typename A >
static auto absl::allocator_traits< Alloc >::allocate_impl ( int  ,
A &  a,
size_type  n,
const_void_pointer  hint 
) [static, private]
template<typename Alloc>
template<typename T , typename... Args>
static void absl::allocator_traits< Alloc >::construct ( Alloc &  a,
T *  p,
Args &&...  args 
) [inline, static]

Definition at line 534 of file memory.h.

template<typename Alloc>
typename static Args auto absl::allocator_traits< Alloc >::construct_impl ( int  ,
A &  a,
Args &&...  args 
) [inline, static, private]

Definition at line 571 of file memory.h.

template<typename Alloc>
template<typename T , typename... Args>
static void absl::allocator_traits< Alloc >::construct_impl ( char  ,
Alloc &  ,
T *  p,
Args &&...  args 
) [inline, static, private]

Definition at line 578 of file memory.h.

template<typename Alloc>
static void absl::allocator_traits< Alloc >::deallocate ( Alloc &  a,
pointer  p,
size_type  n 
) [inline, static]

Definition at line 524 of file memory.h.

template<typename Alloc>
template<typename T >
static void absl::allocator_traits< Alloc >::destroy ( Alloc &  a,
T *  p 
) [inline, static]

Definition at line 542 of file memory.h.

template<typename Alloc>
template<typename A , typename T >
static auto absl::allocator_traits< Alloc >::destroy_impl ( int  ,
A &  a,
T *  p 
) [inline, static, private]

Definition at line 583 of file memory.h.

template<typename Alloc>
template<typename T >
static void absl::allocator_traits< Alloc >::destroy_impl ( char  ,
Alloc &  ,
T *  p 
) [inline, static, private]

Definition at line 588 of file memory.h.

template<typename Alloc>
static size_type absl::allocator_traits< Alloc >::max_size ( const Alloc &  a) [inline, static]

Definition at line 549 of file memory.h.

template<typename Alloc>
template<typename A >
static auto absl::allocator_traits< Alloc >::max_size_impl ( int  ,
const A &  a 
) [inline, static, private]

Definition at line 593 of file memory.h.

template<typename Alloc>
static size_type absl::allocator_traits< Alloc >::max_size_impl ( char  ,
const Alloc &   
) [inline, static, private]

Definition at line 596 of file memory.h.

template<typename Alloc>
static Alloc absl::allocator_traits< Alloc >::select_on_container_copy_construction ( const Alloc &  a) [inline, static]

Definition at line 554 of file memory.h.

template<typename Alloc>
template<typename A >
static auto absl::allocator_traits< Alloc >::select_on_container_copy_construction_impl ( int  ,
const A &  a 
) [inline, static, private]

Definition at line 601 of file memory.h.

template<typename Alloc>
static Alloc absl::allocator_traits< Alloc >::select_on_container_copy_construction_impl ( char  ,
const Alloc &  a 
) [inline, static, private]

Definition at line 605 of file memory.h.


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


abseil_cpp
Author(s):
autogenerated on Wed Jun 19 2019 19:42:16