Searched refs:make_optional (Results 1 – 5 of 5) sorted by relevance
26 using std::experimental::make_optional; in main()29 optional<int> opt = make_optional(2); in main()34 optional<std::string> opt = make_optional(s); in main()39 optional<std::string> opt = make_optional(std::move(s)); in main()45 optional<std::unique_ptr<int>> opt = make_optional(std::move(s)); in main()
661 optional<T> make_optional ( T const& v ) in make_optional() function669 optional<T> make_optional ( bool cond, T const& v ) in make_optional() function
106 template <class T> constexpr optional<typename decay<T>::type> make_optional(T&&);673 make_optional(_Tp&& __v)
4322 $(call gen-test, utilities/optional/optional.specalg/make_optional)
4331 $(call gen-test, utilities/optional/optional.specalg/make_optional)