Dune Core Modules (2.10.0)
polymorphicsmallobject.hh
A wrapper providing small object optimization with polymorphic types.
Definition: polymorphicsmallobject.hh:51
const Base & get() const
Obtain reference to stored object.
Definition: polymorphicsmallobject.hh:137
bool bufferUsed() const
Check if object is stored in internal stack buffer.
Definition: polymorphicsmallobject.hh:131
PolymorphicSmallObject(Derived &&derived)
Construct from object.
Definition: polymorphicsmallobject.hh:75
PolymorphicSmallObject(PolymorphicSmallObject &&other) noexcept
Move constructor from other PolymorphicSmallObject.
Definition: polymorphicsmallobject.hh:88
PolymorphicSmallObject & operator=(const PolymorphicSmallObject &other)
Copy assignment from other PolymorphicSmallObject.
Definition: polymorphicsmallobject.hh:106
PolymorphicSmallObject & operator=(PolymorphicSmallObject &&other) noexcept
Move assignment from other PolymorphicSmallObject.
Definition: polymorphicsmallobject.hh:117
PolymorphicSmallObject(const PolymorphicSmallObject &other)
Copy constructor from other PolymorphicSmallObject.
Definition: polymorphicsmallobject.hh:94
~PolymorphicSmallObject()
Destructor.
Definition: polymorphicsmallobject.hh:100
PolymorphicSmallObject()
Default constructor.
Definition: polymorphicsmallobject.hh:62
Base & get()
Obtain mutable reference to stored object.
Definition: polymorphicsmallobject.hh:143
constexpr auto max
Function object that returns the greater of the given values.
Definition: hybridutilities.hh:484
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Dec 27, 23:30, 2024)