Lines Matching defs:move
56 // Note that this hides the (implicitly declared) move constructor, which
57 // would be used for constexpr move constructor in OptionalStorage<T>.
58 // It is needed iff T is trivially move constructible. However, the current
59 // is_trivially_{copy,move}_constructible implementation requires
101 // because it hides the implicit move constructor. It is needed to implement
102 // constexpr move constructor in OptionalStorage iff T is trivially move
103 // constructible. Note that, if T is trivially move constructible, the move
105 // trivially move constructor. If T is not trivially move constructible,
106 // "not declaring move constructor without destructor declaration" here means
107 // "delete move constructor", which works because any move constructor of
127 // Implement conditional constexpr copy and move constructors. These are
128 // constexpr if is_trivially_{copy,move}_constructible<T>::value is true
132 // compiler generated constexpr {copy,move} constructors). Note that
137 // This is no trivially {copy,move} constructible case. Other cases are
158 if (other.is_populated_) Init(std::move(other.value_));
164 false /* trivially move constructible */>
175 if (other.is_populated_) Init(std::move(other.value_));
181 true /* trivially move constructible */>
198 true /* trivially move constructible */>
200 // If both trivially {copy,move} constructible are true, it is not necessary
206 // Base class to support conditionally usable copy-/move- constructors
231 storage_.Init(std::move(other.storage_.value_));
242 MoveAssign(std::move(other));
257 InitOrAssign(std::move(other.storage_.value_));
286 // is not movable but copyable, Optional<T>'s move constructor should not
407 // All copy/move constructors or assignment operators are marked V8_NOEXCEPT.
429 // Defer default/copy/move constructor implementation to OptionalBase.
458 // Converting move constructor. Similar to converting copy constructor,
467 : internal::OptionalBase<T>(std::move(other)) {}
476 : internal::OptionalBase<T>(std::move(other)) {}
515 // Defer copy-/move- assign operator implementation to OptionalBase.
556 MoveAssign(std::move(other));
582 return std::move(storage_.value_);
587 return std::move(storage_.value_);
606 return std::move(storage_.value_);
611 return std::move(storage_.value_);
630 // "T must be move constructible");
634 ? std::move(storage_.value_)
643 other.storage_.Init(std::move(storage_.value_));
646 storage_.Init(std::move(other.storage_.value_));