Dune Core Modules (2.4.1)

shared_ptr.hh File Reference

This file implements the class shared_ptr (a reference counting pointer), for those systems that don't have it in the standard library. More...

#include <memory>
#include <dune/common/nullptr.hh>
#include <dune/common/typetraits.hh>

Go to the source code of this file.

Classes

struct  Dune::null_deleter< T >
 implements the Deleter concept of shared_ptr without deleting anything More...
 

Namespaces

namespace  Dune
 Dune namespace.
 

Functions

template<typename T >
shared_ptr< T > Dune::stackobject_to_shared_ptr (T &t)
 Create a shared_ptr for a stack-allocated object. More...
 
template<typename T , typename T2 >
shared_ptr< T2 > Dune::stackobject_to_shared_ptr (T &t)
 Create a shared_ptr to a base class for a stack-allocated object. More...
 

Detailed Description

This file implements the class shared_ptr (a reference counting pointer), for those systems that don't have it in the standard library.

Author
Markus Blatt
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 21, 23:30, 2024)