4 #ifndef DUNE_PDELAB_COMMON_UTILITY_HH 5 #define DUNE_PDELAB_COMMON_UTILITY_HH 9 #include <dune/common/shared_ptr.hh> 37 return std::shared_ptr<T>(&t, null_deleter<T>());
45 return std::shared_ptr<T>(t, null_deleter<T>());
61 #endif // DUNE_PDELAB_COMMON_UTILITY_HH std::shared_ptr< T > ensure_shared_ptr(T &t)
Ensures that t is wrapped in a shared_ptr<T>
Definition: common/utility.hh:35
For backward compatibility – Do not use this!
Definition: adaptivity.hh:28