# shared_ptr.h File Reference

Go to the source code of this file.

## Classes

- class std::enable_shared_from_this< _Tp >
    Base class allowing use of member function shared_from_this. More...
- struct std::owner_less< shared_ptr< _Tp > >
    Partial specialization of owner_less for shared_ptr. More...
- struct std::owner_less< weak_ptr< _Tp > >
    Partial specialization of owner_less for weak_ptr. More...
- class std::shared_ptr< _Tp >
    A smart pointer with reference-counted copy semantics. More...
- class std::weak_ptr< _Tp >
    A smart pointer with weak semantics. More...

## Namespaces

- namespace std

## Functions

- template<typename _Tp , typename _Alloc , typename... _Args> shared_ptr< _Tp > std::allocate_shared (_Alloc __a, _Args &&...__args)
- template<typename _Tp , typename _Tp1 > shared_ptr< _Tp > std::const_pointer_cast (const shared_ptr< _Tp1 > &__r)
- template<typename _Tp , typename _Tp1 > shared_ptr< _Tp > std::dynamic_pointer_cast (const shared_ptr< _Tp1 > &__r)
- template<typename _Del , typename _Tp , _Lock_policy _Lp> _Del * std::get_deleter (const __shared_ptr< _Tp, _Lp > &__p)
- template<typename _Tp , typename... _Args> shared_ptr< _Tp > std::make_shared (_Args &&...__args)
- template<typename _Tp1 , typename _Tp2 > bool std::operator!= (const shared_ptr< _Tp1 > &__a, const shared_ptr< _Tp2 > &__b)
- template<typename _Tp1 , typename _Tp2 > bool std::operator< (const shared_ptr< _Tp1 > &__a, const shared_ptr< _Tp2 > &__b)
- template<typename _Ch , typename _Tr , typename _Tp , _Lock_policy _Lp> std::basic_ostream< _Ch, _Tr > & std::operator<< (std::basic_ostream< _Ch, _Tr > &__os, const __shared_ptr< _Tp, _Lp > &__p)
- template<typename _Tp1 , typename _Tp2 > bool std::operator== (const shared_ptr< _Tp1 > &__a, const shared_ptr< _Tp2 > &__b)
- template<typename _Tp , typename _Tp1 > shared_ptr< _Tp > std::static_pointer_cast (const shared_ptr< _Tp1 > &__r)
- template<typename _Tp > void std::swap (weak_ptr< _Tp > &__a, weak_ptr< _Tp > &__b)
- template<typename _Tp > void std::swap (shared_ptr< _Tp > &__a, shared_ptr< _Tp > &__b)

## Detailed Description

This is an internal header file, included by other library headers. You should not attempt to use it directly.

Definition in file shared_ptr.h.