Seastar
High performance C++ framework for concurrent servers
Classes | Public Types | Public Member Functions | Static Public Member Functions | 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_v<T, U>>>
 shared_ptr (const shared_ptr< U > &x) noexcept
 
template<typename U , typename = std::enable_if_t<std::is_base_of_v<T, U>>>
 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_v<T, U>>>
shared_ptroperator= (const shared_ptr< U > &x) noexcept
 
template<typename U , typename = std::enable_if_t<std::is_base_of_v<T, U>>>
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)
 

Class Documentation

◆ seastar::shared_ptr::make_helper

struct seastar::shared_ptr::make_helper

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