|
SOFUS ..
|
Classes | |
| class | unique_aligned_multi_array |
| Aligned multi-dimensional array. More... | |
| class | unique_aligned_multi_array< T, 1, void > |
| Aligned one-dimensional array. More... | |
| class | unique_aligned_multi_array< T, 2, void > |
| Aligned two-dimensional array. More... | |
Typedefs | |
| template<typename T > | |
| using | unique_aligned_array = std::unique_ptr< T[], std::function< void(T *)> > |
Functions | |
| template<typename T , std::size_t Alignment = 4*sizeof(T)> | |
| unique_aligned_array< T > | unique_aligned_array_create (size_t n) |
| template<class T , size_t I> | |
| std::enable_if< I==2 &&std::is_pod< T >::value, unique_aligned_multi_array< T, 2, void > >::type | unique_aligned_multi_array_create (size_t m, size_t n) |
| template<class T , size_t I> | |
| std::enable_if< I==1 &&std::is_pod< T >::value, unique_aligned_multi_array< T, 1, void > >::type | unique_aligned_multi_array_create (size_t m) |
| using unique_aligned_array = std::unique_ptr<T[], std::function<void(T*)> > |
| unique_aligned_array< T > unique_aligned_array_create | ( | size_t | n | ) |
Create unique aligned array with custom deleter
| T | type |
| n | length |
|
inline |
|
inline |