Lines Matching refs:new
198 new (&get()) T(other.get()); in Optional()
203 new (&get()) T(std::move(other.get())); in Optional()
213 new (&get()) T(other.get()); in Optional()
223 new (&get()) T(std::move(other.get())); in Optional()
228 Optional(const T& value) : base_flag(true) { new (&get()) T(value); } in Optional()
230 Optional(T&& value) : base_flag(true) { new (&get()) T(std::move(value)); } in Optional()
235 new (&get()) T(std::forward<Args>(args)...); in Optional()
243 new (&get()) T(il); in Optional()
261 new (&get()) T(other.get());
281 new (&get()) T(std::move(other.get()));
303 new (&get()) T(other.get());
325 new (&get()) T(std::move(other.get()));
345 new (&get()) T(std::forward<U>(other));
440 new (&get()) T(std::forward<Args>(args)...); in emplace()
453 new (&get()) T(il); in emplace()