/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/optional/optional.object/optional.object.assign/ |
D | emplace.pass.cpp | 63 optional<int> opt; in main() local 69 optional<int> opt; in main() local 75 optional<int> opt(2); in main() local 81 optional<int> opt(2); in main() local 87 optional<X> opt; in main() local 93 optional<X> opt; in main() local 99 optional<X> opt; in main() local 105 optional<X> opt(X{3}); in main() local 111 optional<X> opt(X{3}); in main() local 117 optional<X> opt(X{3}); in main() local [all …]
|
D | assign_value.pass.cpp | 40 optional<int> opt; in main() local 46 optional<int> opt; in main() local 53 optional<int> opt(3); in main() local 60 optional<std::unique_ptr<int>> opt; in main() local
|
D | nullopt_t.pass.cpp | 38 optional<int> opt; in main() local 44 optional<int> opt(3); in main() local 49 optional<X> opt; in main() local 59 optional<X> opt(x); in main() local
|
D | copy.pass.cpp | 42 optional<int> opt; in main() local 49 optional<int> opt; in main() local 58 optional<int> opt(3); in main() local 65 optional<int> opt(3); in main() local 74 optional<X> opt; in main() local
|
D | move.pass.cpp | 51 optional<int> opt; in main() local 58 optional<int> opt; in main() local 67 optional<int> opt(3); in main() local 74 optional<int> opt(3); in main() local 84 optional<X> opt; in main() local
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/optional/optional.specalg/ |
D | make_optional.pass.cpp | 29 optional<int> opt = make_optional(2); in main() local 34 optional<std::string> opt = make_optional(s); in main() local 39 optional<std::string> opt = make_optional(std::move(s)); in main() local 45 optional<std::unique_ptr<int>> opt = make_optional(std::move(s)); in main() local
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/optional/optional.object/optional.object.observe/ |
D | value_or_const.pass.cpp | 46 constexpr optional<X> opt(2); in main() local 51 constexpr optional<X> opt(2); in main() local 55 constexpr optional<X> opt; in main() local 60 constexpr optional<X> opt; in main() local 64 const optional<X> opt(2); in main() local 69 const optional<X> opt(2); in main() local 73 const optional<X> opt; in main() local 78 const optional<X> opt; in main() local
|
D | value_const.pass.cpp | 39 constexpr optional<X> opt(in_place); in main() local 43 const optional<X> opt(in_place); in main() local 47 const optional<X> opt; in main() local
|
D | bool.pass.cpp | 24 constexpr optional<int> opt; in main() local 28 constexpr optional<int> opt(0); in main() local
|
D | op_arrow_const.pass.cpp | 48 constexpr optional<X> opt(X{}); in main() local 52 constexpr optional<Y> opt(Y{}); in main() local 56 constexpr optional<Z> opt(Z{}); in main() local 61 const optional<X> opt; in main() local
|
D | dereference_const.pass.cpp | 42 constexpr optional<X> opt(X{}); in main() local 46 constexpr optional<Y> opt(Y{}); in main() local 51 const optional<X> opt; in main() local
|
D | value.pass.cpp | 37 optional<X> opt; in main() local 42 optional<X> opt; in main() local
|
D | value_or.pass.cpp | 49 optional<X> opt(in_place, 2); in main() local 55 optional<X> opt(in_place, 2); in main() local 60 optional<X> opt; in main() local 66 optional<X> opt; in main() local
|
D | dereference.pass.cpp | 38 optional<X> opt(X{}); in main() local 43 optional<X> opt; in main() local
|
D | op_arrow.pass.cpp | 38 optional<X> opt(X{}); in main() local 43 optional<X> opt; in main() local
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/optional/optional.hash/ |
D | hash.pass.cpp | 27 optional<T> opt; in main() local 34 optional<T> opt; in main() local 41 optional<T> opt; in main() local
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/optional/optional.object/optional.object.ctor/ |
D | in_place_t.pass.cpp | 67 constexpr optional<int> opt(in_place, 5); in main() local 80 const optional<X> opt(in_place); in main() local 85 const optional<X> opt(in_place, 5); in main() local 90 const optional<X> opt(in_place, 5, 4); in main() local 95 constexpr optional<Y> opt(in_place); in main() local 108 constexpr optional<Y> opt(in_place, 5); in main() local 121 constexpr optional<Y> opt(in_place, 5, 4); in main() local 136 const optional<Z> opt(in_place, 1); in main() local
|
D | rvalue_T.pass.cpp | 57 constexpr optional<T> opt(T(5)); in main() local 69 constexpr optional<T> opt(T(3)); in main() local 81 optional<T> opt(T(3)); in main() local 87 constexpr optional<T> opt(T(3)); in main() local 101 optional<T> opt(T(3)); in main() local
|
D | default.pass.cpp | 27 constexpr Opt opt; in test_constexpr() local 43 Opt opt; in test() local
|
D | nullopt_t.pass.cpp | 29 constexpr Opt opt(nullopt); in test_constexpr() local 44 Opt opt(nullopt); in test() local
|
D | const_T.pass.cpp | 57 constexpr optional<T> opt(t); in main() local 71 constexpr optional<T> opt(t); in main() local 85 optional<T> opt(t); in main() local 92 constexpr optional<T> opt(t); in main() local 108 optional<T> opt(t); in main() local
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/optional/optional.object/ |
D | optional_const_void.fail.cpp | 21 optional<const void> opt; in main() local
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/optional/optional.syn/ |
D | optional_const_lvalue_ref.fail.cpp | 22 optional<const int&> opt; in main() local
|
D | optional_rvalue_ref.fail.cpp | 22 optional<int&&> opt; in main() local
|
D | optional_const_nullopt_t.fail.cpp | 24 optional<const nullopt_t> opt; in main() local
|