Assignment operators
Synopses
Declared in <folly/observer/Observer.h>
Copy assignment operator; invalidates the cache.
AtomicObserver<T>&
operator=(AtomicObserver<T> const& other);
Move assignment operator; invalidates the cache.
AtomicObserver<T>&
operator=(AtomicObserver<T>&& other) noexcept;
Rebinds this AtomicObserver to a new underlying Observer.
AtomicObserver<T>&
operator=(Observer<T> observer);
Return Value
A reference to this AtomicObserver.
Parameters
Name |
Description |
other |
The AtomicObserver to copy from. |
observer |
The Observer to cache. |
Created with MrDocs