|
proxygen
|
#include <ReadMostlySharedPtr.h>
Public Member Functions | |
| ReadMostlyMainPtr () | |
| ReadMostlyMainPtr (std::shared_ptr< T > ptr) | |
| ReadMostlyMainPtr (const ReadMostlyMainPtr &)=delete | |
| ReadMostlyMainPtr & | operator= (const ReadMostlyMainPtr &)=delete |
| ReadMostlyMainPtr (ReadMostlyMainPtr &&other) noexcept | |
| ReadMostlyMainPtr & | operator= (ReadMostlyMainPtr &&other) noexcept |
| bool | operator== (const ReadMostlyMainPtr< T, RefCount > &other) const |
| bool | operator== (T *other) const |
| bool | operator== (const ReadMostlySharedPtr< T, RefCount > &other) const |
| ~ReadMostlyMainPtr () noexcept | |
| void | reset () noexcept |
| void | reset (std::shared_ptr< T > ptr) |
| T * | get () const |
| std::shared_ptr< T > | getStdShared () const |
| T & | operator* () const |
| T * | operator-> () const |
| ReadMostlySharedPtr< T, RefCount > | getShared () const |
| operator bool () const | |
Private Attributes | |
| detail::ReadMostlySharedPtrCore< T, RefCount > * | impl_ {nullptr} |
Friends | |
| class | ReadMostlyWeakPtr< T, RefCount > |
| class | ReadMostlySharedPtr< T, RefCount > |
| class | ReadMostlyMainPtrDeleter< RefCount > |
Definition at line 26 of file ReadMostlySharedPtr.h.
|
inline |
Definition at line 100 of file ReadMostlySharedPtr.h.
|
inlineexplicit |
Definition at line 102 of file ReadMostlySharedPtr.h.
|
delete |
|
inlinenoexcept |
Definition at line 109 of file ReadMostlySharedPtr.h.
|
inlinenoexcept |
Definition at line 131 of file ReadMostlySharedPtr.h.
|
inline |
Definition at line 151 of file ReadMostlySharedPtr.h.
Referenced by folly::ReadMostlyMainPtr< T >::operator==(), folly::ReadMostlySharedPtr< T >::operator==(), folly::operator==(), and TEST_F().
|
inline |
Definition at line 175 of file ReadMostlySharedPtr.h.
Referenced by TEST_F().
|
inline |
Definition at line 159 of file ReadMostlySharedPtr.h.
Referenced by TEST_F().
|
inlineexplicit |
Definition at line 179 of file ReadMostlySharedPtr.h.
|
inline |
Definition at line 167 of file ReadMostlySharedPtr.h.
|
inline |
Definition at line 171 of file ReadMostlySharedPtr.h.
|
delete |
|
inlinenoexcept |
Definition at line 113 of file ReadMostlySharedPtr.h.
|
inline |
Definition at line 119 of file ReadMostlySharedPtr.h.
|
inline |
Definition at line 123 of file ReadMostlySharedPtr.h.
|
inline |
Definition at line 127 of file ReadMostlySharedPtr.h.
|
inlinenoexcept |
Definition at line 135 of file ReadMostlySharedPtr.h.
Referenced by folly::detail::SingletonHolder< T >::createInstance(), and TEST_F().
|
inline |
Definition at line 144 of file ReadMostlySharedPtr.h.
|
friend |
Definition at line 186 of file ReadMostlySharedPtr.h.
|
friend |
Definition at line 185 of file ReadMostlySharedPtr.h.
|
friend |
Definition at line 184 of file ReadMostlySharedPtr.h.
|
private |
Definition at line 188 of file ReadMostlySharedPtr.h.
Referenced by folly::ReadMostlyWeakPtr< T >::operator=(), folly::ReadMostlySharedPtr< T >::operator=(), folly::ReadMostlySharedPtr< T >::ReadMostlySharedPtr(), and folly::ReadMostlyWeakPtr< T >::ReadMostlyWeakPtr().