dune-fem 2.8.0
Loading...
Searching...
No Matches
Namespaces | Functions
memory.hh File Reference
#include <type_traits>
#include <memory>
#include <dune/common/shared_ptr.hh>

Go to the source code of this file.

Namespaces

namespace  Dune
 
namespace  Dune::Fem
 

Functions

template<class T , std::enable_if_t< !std::is_base_of< std::enable_shared_from_this< std::decay_t< T > >, std::decay_t< T > >::value, int > = 0>
static std::shared_ptr< T > Dune::Fem::referenceToSharedPtr (T &t)