|
dune-functions 2.10
|
Loading...
Searching...
No Matches
typeerasure.hh
Go to the documentation of this file.
STL namespace.
constexpr auto get(std::integer_sequence< T, II... >, std::integral_constant< std::size_t, pos >={})
A wrapper providing small object optimization with polymorphic types.
Definition polymorphicsmallobject.hh:51
Base class for type-erased interface wrapper.
Definition typeerasure.hh:169
const std::type_info & target_type() const
Get type of stored object.
Definition typeerasure.hh:194
TypeErasureBase(T &&t)
Construct wrapper from object.
Definition typeerasure.hh:174
PolymorphicSmallObject< Imp::TypeErasureWrapperInterface< Interface >, bufferSize > wrapped_
Definition typeerasure.hh:200
Interface & asInterface()
Get mutable reference to wrapped object.
Definition typeerasure.hh:182
const Interface & asInterface() const
Get reference to wrapped object.
Definition typeerasure.hh:188
T forward(T... args)
T move(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8