DUNE PDELab (git)
alignedallocator.hh
3// SPDX-FileCopyrightInfo: Copyright © DUNE Project contributors, see file LICENSE.md in module root
Allocators which guarantee alignment of the memory.
Definition: alignedallocator.hh:23
pointer allocate(size_type n, const void *hint=0)
allocate n objects of type T
Definition: alignedallocator.hh:66
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
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
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 12, 23:30, 2024)