6 #ifndef DUNE_SHARED_PTR_HH 7 #define DUNE_SHARED_PTR_HH 98 return std::make_shared<std::decay_t<T>>(std::forward<T>(t));
void operator()(T *) const
Definition: shared_ptr.hh:50
Dune namespace
Definition: alignedallocator.hh:12
std::shared_ptr< T > stackobject_to_shared_ptr(T &t)
Create a shared_ptr for a stack-allocated object.
Definition: shared_ptr.hh:72
auto wrap_or_move(T &&t)
Capture R-value reference to shared_ptr.
Definition: shared_ptr.hh:96
implements the Deleter concept of shared_ptr without deleting anything
Definition: shared_ptr.hh:48
Traits for type conversions and type information.