Dune Core Modules (unstable)
Dune::AlignedNumberImpl::AlignedNumber< T, align > Class Template Reference
aligned wrappers for arithmetic types 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<class T, std::size_t align>
class Dune::AlignedNumberImpl::AlignedNumber< T, align >
class Dune::AlignedNumberImpl::AlignedNumber< T, align >
aligned wrappers for arithmetic types
Member Function Documentation
◆ operator new()
|
inlinestaticinherited |
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[]()
|
inlinestaticinherited |
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 class was generated from the following file:
- dune/common/debugalign.hh
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Dec 21, 23:30, 2024)