Lattice Builder Manual
Software Package for Constructing Rank-1 Lattices
fftw< T >::allocator< Tp > Class Template Reference

STL allocator replacement using FFTW's memory allocation functions. More...

#include <fftw++.h>

Classes

struct  rebind
 

Public Types

typedef size_t size_type
 
typedef ptrdiff_t difference_type
 
typedef Tp * pointer
 
typedef const Tp * const_pointer
 
typedef Tp & reference
 
typedef const Tp & const_reference
 
typedef Tp value_type
 

Public Member Functions

 allocator (const allocator &) throw ()
 
template<typename Tp1 >
 allocator (const allocator< Tp1 > &) throw ()
 
pointer allocate (size_type n, const void *=0)
 
void deallocate (pointer p, size_type)
 
constexpr size_type max_size () const throw ()
 
void construct (pointer p)
 
void construct (pointer p, const Tp &val)
 
void destroy (pointer p)
 

Detailed Description

template<typename T>
template<typename Tp>
class fftw< T >::allocator< Tp >

STL allocator replacement using FFTW's memory allocation functions.

They ensure proper memory alignment for the use of SIMD processor instructions.


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