Constructors
Synopses
Declared in <folly/concurrency/memory/AtomicReadMostlyMainPtr.h>
Constructs an empty pointer.
Constructs a pointer that initially owns the given object.
explicit
AtomicReadMostlyMainPtr(std::shared_ptr<T> ptr);
Parameters
Name |
Description |
ptr |
The shared pointer whose ownership is taken. |
Created with MrDocs