Stokhos  Development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Classes | Public Types | Public Member Functions | List of all members
Stokhos::aligned_allocator< T > Class Template Reference

An aligned STL allocator. More...

#include <Stokhos_MemoryTraits.hpp>

Classes

struct  rebind
 

Public Types

typedef T value_type
 
typedef T * pointer
 
typedef const T * const_pointer
 
typedef T & reference
 
typedef const T & const_reference
 
typedef size_t size_type
 
typedef std::ptrdiff_t difference_type
 
typedef Stokhos::MemoryTraits
< Kokkos::HostSpace > 
Traits
 

Public Member Functions

template<class U >
 aligned_allocator (const aligned_allocator< U > &)
 
size_type max_size () const
 
pointer address (reference x) const
 
const_pointer address (const_reference x) const
 
pointer allocate (size_type n, const void *=0)
 
void deallocate (pointer p, size_type)
 
void construct (pointer p, const_reference val)
 
void destroy (pointer p)
 

Detailed Description

template<typename T>
class Stokhos::aligned_allocator< T >

An aligned STL allocator.


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