Lines Matching refs:this
196 if (this->constructed()) { in Optional()
201 if (this->constructed()) { in Optional()
211 if (this->constructed()) { in Optional()
221 if (this->constructed()) { in Optional()
247 if (&other == this) {
248 return *this;
251 if (this->constructed()) {
256 this->setConstructed(false);
261 this->setConstructed(true);
266 return *this;
271 if (this->constructed()) {
276 this->setConstructed(false);
281 this->setConstructed(true);
286 return *this;
293 if (this->constructed()) {
298 this->setConstructed(false);
303 this->setConstructed(true);
308 return *this;
315 if (this->constructed()) {
320 this->setConstructed(false);
325 this->setConstructed(true);
330 return *this;
341 if (this->constructed()) {
345 this->setConstructed(true);
347 return *this;
370 return this->constructed() ? &get() : nullptr; in ptr()
373 return this->constructed() ? &get() : nullptr; in ptr()
380 return this->constructed() ? get() : std::move(defaultValue); in valueOr()
415 if (this->constructed()) { in ~Optional()
421 if (this->constructed()) { in clear()
423 this->setConstructed(false); in clear()
430 *this = std::forward<U>(u); in reset()
436 if (this->constructed()) { in emplace()
440 this->setConstructed(true); in emplace()
449 if (this->constructed()) { in emplace()
453 this->setConstructed(true); in emplace()
460 reinterpret_cast<const char*>(&this->mStorage)); in get()
465 return const_cast<T&>(const_cast<const Optional*>(this)->get()); in get()