Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions sdr/libraries/fftlib/cpp/include/fftw_allocator.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@
throw "fftwf_allocator bad type - must be float or complex<float> only";
}

template <typename U>
struct rebind {
typedef fftwf_allocator<U> other;
};

typedef typename std::allocator<Tp>::size_type size_type;
typedef typename std::allocator<Tp>::difference_type difference_type;
typedef typename std::allocator<Tp>::pointer pointer;
Expand Down