reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

utils/unittest/googletest/include/gtest/internal/gtest-port.h
 2043   explicit ThreadLocal(const T& value)
 2056   T* pointer() { return GetOrCreateValue(); }
 2057   const T* pointer() const { return GetOrCreateValue(); }
 2058   const T& get() const { return *pointer(); }
 2059   void set(const T& value) { *pointer() = value; }
 2066     explicit ValueHolder(const T& value) : value_(value) {}
 2068     T* pointer() { return &value_; }
 2071     T value_;
 2084   T* GetOrCreateValue() const {
 2118     explicit InstanceValueHolderFactory(const T& value) : value_(value) {}
 2124     const T value_;  // The value for each thread.