Group: memory¶
A¶
functionkfr::aligned_allocate(size_t) Allocates aligned memoryfunctionkfr::aligned_allocate(size_t, size_t) Allocates aligned memoryfunctionkfr::aligned_deallocate(T *) Deallocates aligned memorystructkfr::aligned_newfunctionkfr::data_allocator<T>::allocate(size_type)classkfr::autofree<T> Smart pointer for aligned memory with automatic deallocation.constructorkfr::autofree<T>::autofree<T>() Default constructor.constructorkfr::autofree<T>::autofree<T>(autofree<T> &&)constructorkfr::autofree<T>::autofree<T>(const autofree<T> &)constructorkfr::autofree<T>::autofree<T>(size_t) Allocates aligned memory for given size.
C¶
functionkfr::call_with_temp(size_t, Fn &&) Calls a function with a temporary buffer, allocated on the stack if small enough, otherwise on the heap.typedefkfr::data_allocator<T>::const_pointertypedefkfr::data_allocator<T>::const_reference
D¶
functionkfr::autofree<T>::data() Returns pointer to underlying data.functionkfr::autofree<T>::data() Returns const pointer to underlying data.classkfr::data_allocator<T> Aligned allocatorconstructorkfr::data_allocator<T>::data_allocator<T>()constructorkfr::data_allocator<T>::data_allocator<T>(const data_allocator<T> &)functionkfr::data_allocator<T>::data_allocator<T>(const data_allocator<U> &)functionkfr::data_allocator<T>::deallocate(pointer, size_type)variablekfr::default_memory_alignmenttypedefkfr::data_allocator<T>::difference_type
K¶
macroKFR_CLASS_REFCOUNT
O¶
functionkfr::autofree<T>::operator=(autofree<T> &&)functionkfr::autofree<T>::operator=(const autofree<T> &)functionkfr::operator==(const data_allocator<T1> &, const data_allocator<T2> &)functionkfr::operator!=(const data_allocator<T1> &, const data_allocator<T2> &)functionkfr::aligned_new::operator delete(void *)functionkfr::aligned_new::operator delete(void *, std::align_val_t)functionkfr::aligned_new::operator new(size_t)functionkfr::aligned_new::operator new(size_t, std::align_val_t)functionkfr::autofree<T>::operator[](size_t) Access element at index.functionkfr::autofree<T>::operator[](size_t) Const access to element at index.typedefkfr::data_allocator<T>::rebind<U>::other
P¶
typedefkfr::data_allocator<T>::pointervariablekfr::autofree<T>::ptr Unique pointer with custom deleter for aligned memory.