DUNE-FEM (unstable)
Dune::AlignedBase< align, Impl > Struct Template Reference
CRTP base mixin class to check alignment. More...
#include <dune/common/debugalign.hh>
Static Public Member Functions | |
static void * | operator new (std::size_t count, void *ptr) |
Overload of placement new. More... | |
static void * | operator new[] (std::size_t count, void *ptr) |
Overload of placement new[]. More... | |
Detailed Description
template<std::size_t align, class Impl>
struct Dune::AlignedBase< align, Impl >
struct Dune::AlignedBase< align, Impl >
CRTP base mixin class to check alignment.
Member Function Documentation
◆ operator new()
template<std::size_t align, class Impl >
|
inlinestatic |
Overload of placement new.
Checks if address is misaligned and forwards to global new
- Parameters
-
count number of elements to allocate ptr address of the placement new
- Returns
- void* the address where the object is placed
◆ operator new[]()
template<std::size_t align, class Impl >
|
inlinestatic |
Overload of placement new[].
Checks if address is misaligned and forwards to global new
- Parameters
-
count number of elements to allocate ptr address of the placement new
- Returns
- void* the address where the object is placed
The documentation for this struct was generated from the following file:
- dune/common/debugalign.hh
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 13, 23:29, 2024)