Lines Matching refs:is_populated_
48 : is_populated_(true), value_(std::forward<Args>(args)...) {} in OptionalStorageBase()
62 if (is_populated_) in ~OptionalStorageBase()
68 DCHECK(!is_populated_); in Init()
70 is_populated_ = true; in Init()
73 bool is_populated_ = false; member
91 : is_populated_(true), value_(std::forward<Args>(args)...) {}
109 DCHECK(!is_populated_);
111 is_populated_ = true;
114 bool is_populated_ = false;
140 using OptionalStorageBase<T>::is_populated_;
152 if (other.is_populated_)
158 if (other.is_populated_)
168 using OptionalStorageBase<T>::is_populated_;
178 if (other.is_populated_)
188 using OptionalStorageBase<T>::is_populated_;
197 if (other.is_populated_)
232 if (other.storage_.is_populated_)
238 if (other.storage_.is_populated_)
258 if (other.storage_.is_populated_)
266 if (other.storage_.is_populated_)
274 if (storage_.is_populated_)
281 if (!storage_.is_populated_)
284 storage_.is_populated_ = false;
578 DCHECK(storage_.is_populated_);
583 DCHECK(storage_.is_populated_);
588 DCHECK(storage_.is_populated_);
593 DCHECK(storage_.is_populated_);
598 DCHECK(storage_.is_populated_);
603 DCHECK(storage_.is_populated_);
607 constexpr explicit operator bool() const { return storage_.is_populated_; }
609 constexpr bool has_value() const { return storage_.is_populated_; }
612 CHECK(storage_.is_populated_);
617 CHECK(storage_.is_populated_);
622 CHECK(storage_.is_populated_);
627 CHECK(storage_.is_populated_);
638 return storage_.is_populated_
650 return storage_.is_populated_
656 if (!storage_.is_populated_ && !other.storage_.is_populated_)
659 if (storage_.is_populated_ != other.storage_.is_populated_) {
660 if (storage_.is_populated_) {
670 DCHECK(storage_.is_populated_ && other.storage_.is_populated_);