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