libstdc++
bits/shared_ptr.h File Reference

Go to the source code of this file.

Classes

class  std::enable_shared_from_this< _Tp >
 
struct  std::hash< shared_ptr< _Tp > >
 
struct  std::owner_less< shared_ptr< _Tp > >
 
struct  std::owner_less< void >
 
struct  std::owner_less< weak_ptr< _Tp > >
 
class  std::shared_ptr< _Tp >
 
class  std::weak_ptr< _Tp >
 

Namespaces

namespace  std
 
namespace  std::__detail
 

Macros

#define __cpp_lib_enable_shared_from_this
 
#define __cpp_lib_shared_ptr_weak_type
 

Functions

template<typename _Del , typename _Tp , _Lock_policy _Lp>
_Del * std::get_deleter (const __shared_ptr< _Tp, _Lp > &__p) noexcept
 

Detailed Description

This is an internal header file, included by other library headers. Do not attempt to use it directly. Instead, include <memory>.

Definition in file bits/shared_ptr.h.

Macro Definition Documentation

◆ __cpp_lib_enable_shared_from_this

#define __cpp_lib_enable_shared_from_this

Definition at line 815 of file bits/shared_ptr.h.

◆ __cpp_lib_shared_ptr_weak_type

#define __cpp_lib_shared_ptr_weak_type

Definition at line 140 of file bits/shared_ptr.h.