Lines Matching defs:value_
52 : is_populated_(true), value_(std::forward<Args>(args)...) {}
66 if (is_populated_) value_.~T();
72 ::new (&value_) T(std::forward<Args>(args)...);
82 T value_;
94 : is_populated_(true), value_(std::forward<Args>(args)...) {}
113 ::new (&value_) T(std::forward<Args>(args)...);
123 T value_;
143 using OptionalStorageBase<T>::value_;
154 if (other.is_populated_) Init(other.value_);
158 if (other.is_populated_) Init(std::move(other.value_));
167 using OptionalStorageBase<T>::value_;
175 if (other.is_populated_) Init(std::move(other.value_));
184 using OptionalStorageBase<T>::value_;
192 if (other.is_populated_) Init(other.value_);
225 if (other.storage_.is_populated_) storage_.Init(other.storage_.value_);
231 storage_.Init(std::move(other.storage_.value_));
249 InitOrAssign(other.storage_.value_);
257 InitOrAssign(std::move(other.storage_.value_));
265 storage_.value_ = std::forward<U>(value);
272 storage_.value_.~T();
562 return &storage_.value_;
567 return &storage_.value_;
572 return storage_.value_;
577 return storage_.value_;
582 return std::move(storage_.value_);
587 return std::move(storage_.value_);
596 return storage_.value_;
601 return storage_.value_;
606 return std::move(storage_.value_);
611 return std::move(storage_.value_);
622 ? storage_.value_
634 ? std::move(storage_.value_)
643 other.storage_.Init(std::move(storage_.value_));
646 storage_.Init(std::move(other.storage_.value_));
663 return storage_.value_;
673 return storage_.value_;