|
dune-common 2.12-git
|
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
93 bool operator==(const AlignedAllocator<T, A>&, const AlignedAllocator<U, A>&) noexcept { return true; }
bool operator==(const AlignedAllocator< T, A > &, const AlignedAllocator< U, A > &) noexcept
Compare two aligned allocators of different types for equality.
Definition alignedallocator.hh:93
Allocators which guarantee a minimum alignment of the memory.
Definition alignedallocator.hh:34
void deallocate(T *p, std::size_t n)
Deallocate memory previously allocated with allocate()
Definition alignedallocator.hh:80
T value_type
Type of the object to allocate.
Definition alignedallocator.hh:46
T * allocate(std::size_t n)
Allocate n objects of type T.
Definition alignedallocator.hh:67
static constexpr std::size_t alignment
Alignment of the allocated memory.
Definition alignedallocator.hh:51
T alignment_of_v
T has_single_bit(T... args)
T max(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8