View on GitHub

Vistle

Distributed Data-parallel Scientific Visualization in VR

Classes | Public Member Functions | List of all members
vistle::default_init_allocator< T, A > Class Template Reference

#include <util/allocator.h>

Inheritance diagram for vistle::default_init_allocator< T, A >:
Inheritance graph
[legend]
Collaboration diagram for vistle::default_init_allocator< T, A >:
Collaboration graph
[legend]

Classes

struct  rebind
 

Public Member Functions

template<typename U >
void construct (U *ptr) noexcept(std::is_nothrow_default_constructible< U >::value)
 
template<typename U , typename... Args>
void construct (U *ptr, Args &&...args)
 

Class Documentation

◆ vistle::default_init_allocator::rebind

struct vistle::default_init_allocator::rebind
template<typename T, typename A = std::allocator<T>>
template<typename U>
struct vistle::default_init_allocator< T, A >::rebind< U >
Class Members
typedef default_init_allocator< U, typename template rebind_alloc< U > > other

Member Function Documentation

◆ construct() [1/2]

template<typename T , typename A = std::allocator<T>>
template<typename U >
void vistle::default_init_allocator< T, A >::construct ( U *  ptr)
inlinenoexcept

◆ construct() [2/2]

template<typename T , typename A = std::allocator<T>>
template<typename U , typename... Args>
void vistle::default_init_allocator< T, A >::construct ( U *  ptr,
Args &&...  args 
)
inline

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