|
dune-common 2.11
|
Loading...
Searching...
No Matches
alignedallocator.hh
Go to the documentation of this file.
3// SPDX-FileCopyrightInfo: Copyright © DUNE Project contributors, see file LICENSE.md in module root
Allocators that use malloc/free.
constexpr std::integral_constant< std::size_t, sizeof...(II)> size(std::integer_sequence< T, II... >)
Return the size of the sequence.
Definition integersequence.hh:75
Allocators which guarantee alignment of the memory.
Definition alignedallocator.hh:23
typename MallocAllocator< T >::size_type size_type
Definition alignedallocator.hh:58
pointer allocate(size_type n, const void *hint=0)
allocate n objects of type T
Definition alignedallocator.hh:66
typename MallocAllocator< T >::pointer pointer
Definition alignedallocator.hh:57
Definition alignedallocator.hh:59
AlignedAllocator< U, Alignment > other
Definition alignedallocator.hh:60
Allocators implementation which simply calls malloc/free.
Definition mallocallocator.hh:24
void deallocate(pointer p, size_type n)
deallocate n objects of type T at address p
Definition mallocallocator.hh:68
size_type max_size() const noexcept
max size for allocate
Definition mallocallocator.hh:74
T aligned_alloc(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8