Home
last modified time | relevance | path

Searched refs:unexpect_t (Results 1 – 11 of 11) sorted by relevance

/external/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/expected/expected.expected/ctor/
Dctor.unexpect.pass.cpp31 static_assert(std::is_constructible_v<std::expected<int, int>, std::unexpect_t>);
32 static_assert(std::is_constructible_v<std::expected<int, int>, std::unexpect_t, int>);
36 static_assert(!std::is_constructible_v<std::expected<int, foo>, std::unexpect_t, int>);
46 static_assert(!ImplicitlyConstructible<std::expected<int, int>, std::unexpect_t>);
47 static_assert(!ImplicitlyConstructible<std::expected<int, int>, std::unexpect_t, int>);
Dctor.unexpect_init_list.pass.cpp37 …std::is_constructible_v<std::expected<int, std::vector<int>>, std::unexpect_t, std::initializer_li…
40 static_assert(!std::is_constructible_v<std::expected<int, int>, std::unexpect_t, std::initializer_l…
51 …!ImplicitlyConstructible<std::expected<int, std::vector<int>>, std::unexpect_t, std::initializer_l…
/external/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/expected/expected.void/ctor/
Dctor.unexpect.pass.cpp31 static_assert(std::is_constructible_v<std::expected<void, int>, std::unexpect_t>);
32 static_assert(std::is_constructible_v<std::expected<void, int>, std::unexpect_t, int>);
36 static_assert(!std::is_constructible_v<std::expected<void, foo>, std::unexpect_t, int>);
46 static_assert(!ImplicitlyConstructible<std::expected<void, int>, std::unexpect_t>);
47 static_assert(!ImplicitlyConstructible<std::expected<void, int>, std::unexpect_t, int>);
Dctor.unexpect_init_list.pass.cpp36 …std::is_constructible_v<std::expected<void, std::vector<int>>, std::unexpect_t, std::initializer_l…
39 static_assert(!std::is_constructible_v<std::expected<void, int>, std::unexpect_t, std::initializer_…
50 …!ImplicitlyConstructible<std::expected<void, std::vector<int>>, std::unexpect_t, std::initializer_…
/external/cronet/buildtools/third_party/libc++/trunk/include/__expected/
Dunexpect.h22 struct unexpect_t { struct
23 explicit unexpect_t() = default;
26 inline constexpr unexpect_t unexpect{};
Dexpected.h83 !is_same_v<remove_cv_t<_Tp>, unexpect_t> &&
247 _LIBCPP_HIDE_FROM_ABI constexpr explicit expected(unexpect_t, _Args&&... __args) in expected() argument
256 expected(unexpect_t, initializer_list<_Up> __il, _Args&&... __args) in expected() argument
751 _LIBCPP_HIDE_FROM_ABI constexpr explicit expected(unexpect_t, _Args&&... __args) in expected() argument
759 …_LIBCPP_HIDE_FROM_ABI constexpr explicit expected(unexpect_t, initializer_list<_Up> __il, _Args&&.… in expected() argument
/external/cronet/buildtools/third_party/libc++/trunk/test/libcxx/utilities/expected/expected.void/
Dnoexcept.extension.compile.pass.cpp60 std::unexpect_t,
64 std::unexpect_t,
70 std::unexpect_t,
74 std::unexpect_t,
/external/cronet/buildtools/third_party/libc++/trunk/test/libcxx/utilities/expected/expected.expected/
Dnoexcept.extension.compile.pass.cpp102 std::unexpect_t,
106 std::unexpect_t,
112 std::unexpect_t,
116 std::unexpect_t,
/external/cronet/buildtools/third_party/libc++/trunk/include/
Dexpected27 struct unexpect_t {
28 explicit unexpect_t() = default;
30 inline constexpr unexpect_t unexpect{};
/external/cronet/base/types/
Dexpected_internal.h27 struct unexpect_t { struct
28 explicit unexpect_t() = default;
32 inline constexpr unexpect_t unexpect{};
418 static_assert(!std::is_same_v<U, unexpect_t>,
456 static_assert(!std::is_same_v<G, unexpect_t>,
Dexpected.h341 constexpr explicit expected(unexpect_t, Args&&... args) noexcept in expected() argument
345 constexpr explicit expected(unexpect_t, in expected() argument
712 constexpr explicit expected(unexpect_t, Args&&... args) noexcept in expected() argument
716 constexpr explicit expected(unexpect_t, in expected() argument