proxygen
|
#include <ReadMostlySharedPtr.h>
Public Member Functions | |
ReadMostlySharedPtr () | |
ReadMostlySharedPtr (const ReadMostlyWeakPtr< T, RefCount > &weakPtr) | |
ReadMostlySharedPtr (const ReadMostlyMainPtr< T, RefCount > &mainPtr) | |
ReadMostlySharedPtr (const ReadMostlySharedPtr &other) | |
ReadMostlySharedPtr & | operator= (const ReadMostlySharedPtr &other) |
ReadMostlySharedPtr & | operator= (const ReadMostlyWeakPtr< T, RefCount > &other) |
ReadMostlySharedPtr & | operator= (const ReadMostlyMainPtr< T, RefCount > &other) |
ReadMostlySharedPtr (ReadMostlySharedPtr &&other) noexcept | |
~ReadMostlySharedPtr () noexcept | |
ReadMostlySharedPtr & | operator= (ReadMostlySharedPtr &&other) noexcept |
bool | operator== (const ReadMostlyMainPtr< T, RefCount > &other) const |
bool | operator== (T *other) const |
bool | operator== (const ReadMostlySharedPtr< T, RefCount > &other) const |
void | reset () |
T * | get () const |
std::shared_ptr< T > | getStdShared () const |
T & | operator* () const |
T * | operator-> () const |
size_t | use_count () const |
bool | unique () const |
operator bool () const | |
Private Member Functions | |
void | reset (detail::ReadMostlySharedPtrCore< T, RefCount > *impl) |
Private Attributes | |
T * | ptr_ {nullptr} |
detail::ReadMostlySharedPtrCore< T, RefCount > * | impl_ {nullptr} |
Friends | |
class | ReadMostlyWeakPtr< T, RefCount > |
Definition at line 30 of file ReadMostlySharedPtr.h.
|
inline |
Definition at line 254 of file ReadMostlySharedPtr.h.
|
inlineexplicit |
Definition at line 256 of file ReadMostlySharedPtr.h.
|
inlineexplicit |
Definition at line 261 of file ReadMostlySharedPtr.h.
|
inline |
Definition at line 265 of file ReadMostlySharedPtr.h.
|
inlinenoexcept |
Definition at line 284 of file ReadMostlySharedPtr.h.
|
inlinenoexcept |
Definition at line 288 of file ReadMostlySharedPtr.h.
|
inline |
Definition at line 314 of file ReadMostlySharedPtr.h.
Referenced by folly::ReadMostlyMainPtr< T >::operator==(), folly::ReadMostlySharedPtr< T >::operator==(), folly::operator==(), and TEST().
|
inline |
Definition at line 318 of file ReadMostlySharedPtr.h.
|
inlineexplicit |
Definition at line 342 of file ReadMostlySharedPtr.h.
|
inline |
Definition at line 326 of file ReadMostlySharedPtr.h.
|
inline |
Definition at line 330 of file ReadMostlySharedPtr.h.
|
inline |
Definition at line 269 of file ReadMostlySharedPtr.h.
|
inline |
Definition at line 274 of file ReadMostlySharedPtr.h.
|
inline |
Definition at line 279 of file ReadMostlySharedPtr.h.
|
inlinenoexcept |
Definition at line 292 of file ReadMostlySharedPtr.h.
|
inline |
Definition at line 298 of file ReadMostlySharedPtr.h.
|
inline |
Definition at line 302 of file ReadMostlySharedPtr.h.
|
inline |
Definition at line 306 of file ReadMostlySharedPtr.h.
|
inline |
Definition at line 310 of file ReadMostlySharedPtr.h.
Referenced by TEST_F().
|
inlineprivate |
|
inline |
Definition at line 338 of file ReadMostlySharedPtr.h.
|
inline |
Definition at line 334 of file ReadMostlySharedPtr.h.
|
friend |
Definition at line 347 of file ReadMostlySharedPtr.h.
|
private |
Definition at line 363 of file ReadMostlySharedPtr.h.
Referenced by folly::ReadMostlySharedPtr< T >::operator=(), and folly::ReadMostlyWeakPtr< T >::ReadMostlyWeakPtr().
|
private |
Definition at line 362 of file ReadMostlySharedPtr.h.