Searched refs:ThreadsafeCopyOnWrite (Results 1 – 3 of 3) sorted by relevance
41 class ThreadsafeCopyOnWrite final {60 ThreadsafeCopyOnWrite(Args&&... args) in ThreadsafeCopyOnWrite() function63 ThreadsafeCopyOnWrite(const ThreadsafeCopyOnWrite<T>& other) = default;64 ThreadsafeCopyOnWrite& operator=(const ThreadsafeCopyOnWrite<T>& other) =66 ThreadsafeCopyOnWrite(ThreadsafeCopyOnWrite<T>&& other) = default;67 ThreadsafeCopyOnWrite& operator=(ThreadsafeCopyOnWrite<T>&& other) = default;71 explicit Read(const ThreadsafeCopyOnWrite<T>* cow);77 const ThreadsafeCopyOnWrite<T>* cow_;83 explicit Write(ThreadsafeCopyOnWrite<T>* cow);89 ThreadsafeCopyOnWrite<T>* cow_;[all …]
17 ThreadsafeCopyOnWrite<T>::Read::Read(const ThreadsafeCopyOnWrite<T>* cow) in Read()21 const T& ThreadsafeCopyOnWrite<T>::Read::operator*() const {26 const T* ThreadsafeCopyOnWrite<T>::Read::operator->() const {31 ThreadsafeCopyOnWrite<T>::Write::Write(ThreadsafeCopyOnWrite<T>* cow) in Write()35 T& ThreadsafeCopyOnWrite<T>::Write::operator*() {40 T* ThreadsafeCopyOnWrite<T>::Write::operator->() {45 ThreadsafeCopyOnWrite<T>::Impl::Impl(const Impl& other) { in Impl()
136 ThreadsafeCopyOnWrite<BuiltinSourceMap> source_;