Lines Matching refs:OptionalBase
216 class OptionalBase {
221 constexpr OptionalBase() = default;
222 constexpr OptionalBase(const OptionalBase& other) = default;
223 constexpr OptionalBase(OptionalBase&& other) = default;
226 constexpr explicit OptionalBase(in_place_t, Args&&... args)
231 explicit OptionalBase(const OptionalBase<U>& other) {
237 explicit OptionalBase(OptionalBase<U>&& other) {
242 ~OptionalBase() = default;
244 OptionalBase& operator=(const OptionalBase& other) {
249 OptionalBase& operator=(OptionalBase&& other) noexcept(
257 void CopyAssign(const OptionalBase<U>& other) {
265 void MoveAssign(OptionalBase<U>&& other) {
290 friend class OptionalBase;
430 : public internal::OptionalBase<T>,
459 Optional(const Optional<U>& other) : internal::OptionalBase<T>(other) {}
468 : internal::OptionalBase<T>(other) {}
478 Optional(Optional<U>&& other) : internal::OptionalBase<T>(std::move(other)) {}
487 : internal::OptionalBase<T>(std::move(other)) {}
491 : internal::OptionalBase<T>(in_place, std::forward<Args>(args)...) {}
502 : internal::OptionalBase<T>(in_place, il, std::forward<Args>(args)...) {}
515 : internal::OptionalBase<T>(in_place, std::forward<U>(value)) {}
526 : internal::OptionalBase<T>(in_place, std::forward<U>(value)) {}
697 using internal::OptionalBase<T>::CopyAssign;
698 using internal::OptionalBase<T>::FreeIfNeeded;
699 using internal::OptionalBase<T>::InitOrAssign;
700 using internal::OptionalBase<T>::MoveAssign;
701 using internal::OptionalBase<T>::storage_;