Home
last modified time | relevance | path

Searched refs:assign_empty (Results 1 – 4 of 4) sorted by relevance

/external/libcxx/test/std/utilities/optional/optional.object/optional.object.assign/
Dcopy.pass.cpp39 constexpr bool assign_empty(optional<Tp>&& lhs) { in assign_empty() function
57 LIBCPP_STATIC_ASSERT(assign_empty(O{42}), ""); in main()
60 assert(assign_empty(O{42})); in main()
66 LIBCPP_STATIC_ASSERT(assign_empty(O{42}), ""); in main()
69 assert(assign_empty(O{42})); in main()
74 assert(assign_empty(O{42})); in main()
Dmove.pass.cpp57 constexpr bool assign_empty(optional<Tp>&& lhs) { in assign_empty() function
119 LIBCPP_STATIC_ASSERT(assign_empty(O{42}), ""); in main()
122 assert(assign_empty(O{42})); in main()
128 LIBCPP_STATIC_ASSERT(assign_empty(O{42}), ""); in main()
131 assert(assign_empty(O{42})); in main()
/external/llvm-project/libcxx/test/std/utilities/optional/optional.object/optional.object.assign/
Dcopy.pass.cpp39 constexpr bool assign_empty(optional<Tp>&& lhs) { in assign_empty() function
57 LIBCPP_STATIC_ASSERT(assign_empty(O{42}), ""); in main()
60 assert(assign_empty(O{42})); in main()
66 LIBCPP_STATIC_ASSERT(assign_empty(O{42}), ""); in main()
69 assert(assign_empty(O{42})); in main()
74 assert(assign_empty(O{42})); in main()
Dmove.pass.cpp56 constexpr bool assign_empty(optional<Tp>&& lhs) { in assign_empty() function
118 LIBCPP_STATIC_ASSERT(assign_empty(O{42}), ""); in main()
121 assert(assign_empty(O{42})); in main()
127 LIBCPP_STATIC_ASSERT(assign_empty(O{42}), ""); in main()
130 assert(assign_empty(O{42})); in main()