Lines Matching refs:InlinedStructPtr
121 class InlinedStructPtr {
125 InlinedStructPtr() : is_null_(true) {} in InlinedStructPtr() function
126 InlinedStructPtr(decltype(nullptr)) : is_null_(true) {} in InlinedStructPtr() function
128 ~InlinedStructPtr() {} in ~InlinedStructPtr()
130 InlinedStructPtr& operator=(decltype(nullptr)) { in decltype()
135 InlinedStructPtr(InlinedStructPtr&& other) : is_null_(true) { Take(&other); } in InlinedStructPtr() function
136 InlinedStructPtr& operator=(InlinedStructPtr&& other) {
143 return TypeConverter<U, InlinedStructPtr>::Convert(*this); in To()
164 void Swap(InlinedStructPtr* other) { in Swap()
169 InlinedStructPtr Clone() const { in Clone()
170 return is_null() ? InlinedStructPtr() : value_.Clone(); in Clone()
172 bool Equals(const InlinedStructPtr& other) const { in Equals()
180 typedef Struct InlinedStructPtr::*Testable;
183 operator Testable() const { return is_null_ ? 0 : &InlinedStructPtr::value_; } in Testable()
191 bool operator==(const InlinedStructPtr<T>& other) const = delete;
193 bool operator!=(const InlinedStructPtr<T>& other) const = delete;
197 void Take(InlinedStructPtr* other) { in Take()
205 DISALLOW_COPY_AND_ASSIGN(InlinedStructPtr);