JayBeams
0.1
Another project to have fun coding.
|
Define an allocator based on fftw_malloc()/fftw_free() More...
#include <allocator.hpp>
Classes | |
struct | rebind |
Public Types | |
typedef T | value_type |
typedef value_type * | pointer |
typedef value_type const * | const_pointer |
typedef void * | void_pointer |
typedef void const * | const_void_pointer |
typedef std::size_t | size_type |
typedef std::ptrdiff_t | difference_type |
Public Member Functions | |
pointer | address (T &object) const |
const_pointer | address (T const &object) const |
size_type | max_size () const |
template<typename... Args> | |
void | construct (pointer p, Args &&... args) |
void | destroy (pointer p) |
pointer | allocate (size_type count, const void *=0) |
void | deallocate (pointer p, size_type count) |
bool | operator== (allocator const &rhs) const |
bool | operator!= (allocator const &rhs) const |
Define an allocator based on fftw_malloc()/fftw_free()
FFTW3 provides functions to allocate memory aligned to whatever requirements the vectorized instructions require.
Definition at line 18 of file allocator.hpp.
struct jb::fftw::allocator::rebind |
Definition at line 28 of file allocator.hpp.
Class Members | ||
---|---|---|
typedef allocator< U > | other |
typedef value_type const* jb::fftw::allocator< T >::const_pointer |
Definition at line 22 of file allocator.hpp.
typedef void const* jb::fftw::allocator< T >::const_void_pointer |
Definition at line 24 of file allocator.hpp.
typedef std::ptrdiff_t jb::fftw::allocator< T >::difference_type |
Definition at line 26 of file allocator.hpp.
typedef value_type* jb::fftw::allocator< T >::pointer |
Definition at line 21 of file allocator.hpp.
typedef std::size_t jb::fftw::allocator< T >::size_type |
Definition at line 25 of file allocator.hpp.
typedef T jb::fftw::allocator< T >::value_type |
Definition at line 20 of file allocator.hpp.
typedef void* jb::fftw::allocator< T >::void_pointer |
Definition at line 23 of file allocator.hpp.
|
inline |
Definition at line 32 of file allocator.hpp.
|
inline |
Definition at line 35 of file allocator.hpp.
|
inline |
Definition at line 48 of file allocator.hpp.
|
inline |
Definition at line 42 of file allocator.hpp.
|
inline |
Definition at line 51 of file allocator.hpp.
|
inline |
Definition at line 45 of file allocator.hpp.
|
inline |
Definition at line 38 of file allocator.hpp.
|
inline |
Definition at line 58 of file allocator.hpp.
|
inline |
Definition at line 55 of file allocator.hpp.