Seastar
High performance C++ framework for concurrent servers
Classes | Public Types | Public Member Functions | Static Public Member Functions | Friends | List of all members
seastar::shared_ptr< T > Class Template Reference

Classes

struct  make_helper
 

Public Types

using element_type = T
 

Public Member Functions

 shared_ptr (std::nullptr_t) noexcept
 
 shared_ptr (const shared_ptr &x) noexcept
 
 shared_ptr (shared_ptr &&x) noexcept
 
template<typename U , typename = std::enable_if_t<std::is_base_of<T, U>::value>>
 shared_ptr (const shared_ptr< U > &x) noexcept
 
template<typename U , typename = std::enable_if_t<std::is_base_of<T, U>::value>>
 shared_ptr (shared_ptr< U > &&x) noexcept
 
shared_ptroperator= (const shared_ptr &x) noexcept
 
shared_ptroperator= (shared_ptr &&x) noexcept
 
shared_ptroperator= (std::nullptr_t) noexcept
 
template<typename U , typename = std::enable_if_t<std::is_base_of<T, U>::value>>
shared_ptroperator= (const shared_ptr< U > &x) noexcept
 
template<typename U , typename = std::enable_if_t<std::is_base_of<T, U>::value>>
shared_ptroperator= (shared_ptr< U > &&x) noexcept
 
 operator bool () const noexcept
 
T & operator* () const noexcept
 
T * operator-> () const noexcept
 
T * get () const noexcept
 
long use_count () const noexcept
 

Static Public Member Functions

template<bool esft, typename... A>
static shared_ptr make (A &&... a)
 

Friends

template<typename U , typename... A>
shared_ptr< U > make_shared (A &&... a)
 
template<typename U >
shared_ptr< U > make_shared (U &&a)
 
template<typename V , typename U >
shared_ptr< V > static_pointer_cast (const shared_ptr< U > &p)
 
template<typename V , typename U >
shared_ptr< V > dynamic_pointer_cast (const shared_ptr< U > &p)
 
template<typename V , typename U >
shared_ptr< V > const_pointer_cast (const shared_ptr< U > &p)
 

Class Documentation

◆ seastar::shared_ptr::make_helper

struct seastar::shared_ptr::make_helper

The documentation for this class was generated from the following file: