dune-common  2.2.1
Classes | Namespaces | Functions
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 <dune/common/nullptr.hh>
#include <dune/common/typetraits.hh>

Go to the source code of this file.

Classes

class  Dune::SharedCount
 The object we reference. More...
 
class  Dune::shared_ptr< T >
 A reference counting smart pointer. More...
 
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::make_shared ()
 
template<typename T , typename Arg1 >
shared_ptr< T > Dune::make_shared (const Arg1 &arg1)
 
template<typename T , typename Arg1 , typename Arg2 >
shared_ptr< T > Dune::make_shared (const Arg1 &arg1, const Arg2 &arg2)
 
template<typename T , typename Arg1 , typename Arg2 , typename Arg3 >
shared_ptr< T > Dune::make_shared (const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3)
 
template<typename T , typename Arg1 , typename Arg2 , typename Arg3 , typename Arg4 >
shared_ptr< T > Dune::make_shared (const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3, const Arg4 &arg4)
 
template<typename T , typename Arg1 , typename Arg2 , typename Arg3 , typename Arg4 , typename Arg5 >
shared_ptr< T > Dune::make_shared (const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3, const Arg4 &arg4, const Arg5 &arg5)
 
template<typename T , typename Arg1 , typename Arg2 , typename Arg3 , typename Arg4 , typename Arg5 , typename Arg6 >
shared_ptr< T > Dune::make_shared (const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3, const Arg4 &arg4, const Arg5 &arg5, const Arg6 &arg6)
 
template<typename T , typename Arg1 , typename Arg2 , typename Arg3 , typename Arg4 , typename Arg5 , typename Arg6 , typename Arg7 >
shared_ptr< T > Dune::make_shared (const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3, const Arg4 &arg4, const Arg5 &arg5, const Arg6 &arg6, const Arg7 &arg7)
 
template<typename T , typename Arg1 , typename Arg2 , typename Arg3 , typename Arg4 , typename Arg5 , typename Arg6 , typename Arg7 , typename Arg8 >
shared_ptr< T > Dune::make_shared (const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3, const Arg4 &arg4, const Arg5 &arg5, const Arg6 &arg6, const Arg7 &arg7, const Arg8 &arg8)
 
template<typename T , typename Arg1 , typename Arg2 , typename Arg3 , typename Arg4 , typename Arg5 , typename Arg6 , typename Arg7 , typename Arg8 , typename Arg9 >
shared_ptr< T > Dune::make_shared (const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3, const Arg4 &arg4, const Arg5 &arg5, const Arg6 &arg6, const Arg7 &arg7, const Arg8 &arg8, const Arg9 &arg9)
 

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