Template Class FFTWAllocator

Nested Relationships

Nested Types

Class Documentation

template<class T>
class FFTWAllocator

FFTWAllocator a class to handle aligned allocation of memory using the FFTW libraries. Code is adapted from http://www.josuttis.com/cppcode/myalloc.hpp.html.

Public Types

typedef T value_type
typedef T *pointer
typedef const T *const_pointer
typedef T &reference
typedef const T &const_reference
typedef std::size_t size_type
typedef std::ptrdiff_t difference_type

Public Functions

inline pointer address(reference value) const
inline const_pointer address(const_reference value) const
inline FFTWAllocator()
inline FFTWAllocator(const FFTWAllocator&)
template<class U>
inline FFTWAllocator(const FFTWAllocator<U>&)
inline ~FFTWAllocator()
inline FFTWAllocator &operator=(FFTWAllocator other)
template<class U>
inline FFTWAllocator &operator=(FFTWAllocator<U> other)
inline size_type max_size() const
inline pointer allocate(size_type num, const void* = 0)
inline void construct(pointer p, const T &value)
inline void destroy(pointer p)
inline void deallocate(pointer p, size_type num)
template<class U>
struct rebind

Public Types

typedef FFTWAllocator<U> other