/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/optional/ |
D | optional.hpp | 115 template<class T> void swap ( optional<T>& x, optional<T>& y ); 288 void assign ( optional<U> const& rhs ) in assign() 499 class optional : public optional_detail::optional_base<T> class 507 typedef optional<T> this_type ; 518 optional() : base() {} in optional() function in boost::optional 522 optional( none_t none_ ) : base(none_) {} in optional() function in boost::optional 526 optional ( argument_type val ) : base(val) {} in optional() function in boost::optional 530 optional ( bool cond, argument_type val ) : base(cond,val) {} in optional() function in boost::optional 539 explicit optional ( optional<U> const& rhs ) in optional() function in boost::optional 559 explicit optional ( Expr const& expr ) : base(expr,boost::addressof(expr)) {} in optional() function in boost::optional [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/optional/optional.object/optional.object.assign/ |
D | assign_value.pass.cpp | 21 using std::experimental::optional; 32 static_assert(std::is_assignable<optional<int>, int>::value, ""); in main() 33 static_assert(std::is_assignable<optional<int>, int&>::value, ""); in main() 34 static_assert(std::is_assignable<optional<int>&, int>::value, ""); in main() 35 static_assert(std::is_assignable<optional<int>&, int&>::value, ""); in main() 36 static_assert(std::is_assignable<optional<int>&, const int&>::value, ""); in main() 37 static_assert(!std::is_assignable<const optional<int>&, const int&>::value, ""); in main() 38 static_assert(!std::is_assignable<optional<int>, X>::value, ""); in main() 40 optional<int> opt; in main() 46 optional<int> opt; in main() [all …]
|
D | move.pass.cpp | 22 using std::experimental::optional; 50 static_assert(std::is_nothrow_move_assignable<optional<int>>::value, ""); in main() 51 optional<int> opt; in main() 52 constexpr optional<int> opt2; in main() 58 optional<int> opt; in main() 59 constexpr optional<int> opt2(2); in main() 67 optional<int> opt(3); in main() 68 constexpr optional<int> opt2; in main() 74 optional<int> opt(3); in main() 75 constexpr optional<int> opt2(2); in main() [all …]
|
D | copy.pass.cpp | 20 using std::experimental::optional; 42 optional<int> opt; in main() 43 constexpr optional<int> opt2; in main() 49 optional<int> opt; in main() 50 constexpr optional<int> opt2(2); in main() 58 optional<int> opt(3); in main() 59 constexpr optional<int> opt2; in main() 65 optional<int> opt(3); in main() 66 constexpr optional<int> opt2(2); in main() 74 optional<X> opt; in main() [all …]
|
D | emplace.pass.cpp | 21 using std::experimental::optional; 63 optional<int> opt; in main() 69 optional<int> opt; in main() 75 optional<int> opt(2); in main() 81 optional<int> opt(2); in main() 87 optional<X> opt; in main() 93 optional<X> opt; in main() 99 optional<X> opt; in main() 105 optional<X> opt(X{3}); in main() 111 optional<X> opt(X{3}); in main() [all …]
|
D | nullopt_t.pass.cpp | 20 using std::experimental::optional; 38 optional<int> opt; in main() 44 optional<int> opt(3); in main() 49 optional<X> opt; in main() 59 optional<X> opt(x); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/optional/optional.object/optional.object.ctor/ |
D | in_place_t.pass.cpp | 21 using std::experimental::optional; 67 constexpr optional<int> opt(in_place, 5); in main() 72 : public optional<int> in main() 75 : optional<int>(in_place, i) {} in main() 80 const optional<X> opt(in_place); in main() 85 const optional<X> opt(in_place, 5); in main() 90 const optional<X> opt(in_place, 5, 4); in main() 95 constexpr optional<Y> opt(in_place); in main() 100 : public optional<Y> in main() 103 : optional<Y>(in_place) {} in main() [all …]
|
D | move.pass.cpp | 20 using std::experimental::optional; 24 test(optional<T>& rhs, bool is_going_to_throw = false) in test() 26 static_assert(std::is_nothrow_move_constructible<optional<T>>::value == in test() 31 optional<T> lhs = std::move(rhs); in test() 85 optional<T> rhs; in main() 90 optional<T> rhs(3); in main() 95 optional<T> rhs; in main() 100 optional<T> rhs(X(3)); in main() 105 optional<T> rhs; in main() 110 optional<T> rhs(Y(3)); in main() [all …]
|
D | copy.pass.cpp | 20 using std::experimental::optional; 24 test(const optional<T>& rhs, bool is_going_to_throw = false) in test() 29 optional<T> lhs = rhs; in test() 85 optional<T> rhs; in main() 90 optional<T> rhs(3); in main() 95 optional<T> rhs; in main() 100 optional<T> rhs(X(3)); in main() 105 optional<T> rhs; in main() 110 optional<T> rhs(Y(3)); in main() 115 optional<T> rhs; in main() [all …]
|
D | const_T.pass.cpp | 20 using std::experimental::optional; 57 constexpr optional<T> opt(t); in main() 62 : public optional<T> in main() 71 constexpr optional<T> opt(t); in main() 76 : public optional<T> in main() 85 optional<T> opt(t); in main() 92 constexpr optional<T> opt(t); in main() 97 : public optional<T> in main() 108 optional<T> opt(t); in main()
|
D | rvalue_T.pass.cpp | 20 using std::experimental::optional; 57 constexpr optional<T> opt(T(5)); in main() 62 : public optional<T> in main() 69 constexpr optional<T> opt(T(3)); in main() 74 : public optional<T> in main() 81 optional<T> opt(T(3)); in main() 87 constexpr optional<T> opt(T(3)); in main() 92 : public optional<T> in main() 101 optional<T> opt(T(3)); in main()
|
D | initializer_list.pass.cpp | 23 using std::experimental::optional; 77 static_assert(!std::is_constructible<optional<X>, std::initializer_list<int>&>::value, ""); in main() 80 optional<std::vector<int>> opt(in_place, {3, 1}); in main() 86 optional<std::vector<int>> opt(in_place, {3, 1}, std::allocator<int>()); in main() 92 static_assert(std::is_constructible<optional<Y>, std::initializer_list<int>&>::value, ""); in main() 93 constexpr optional<Y> opt(in_place, {3, 1}); in main() 98 : public optional<Y> in main() 101 : optional<Y>(in_place, i) {} in main() 106 static_assert(std::is_constructible<optional<Z>, std::initializer_list<int>&>::value, ""); in main() 109 optional<Z> opt(in_place, {3, 1}); in main() [all …]
|
D | default.pass.cpp | 20 using std::experimental::optional; 63 test_constexpr<optional<int>>(); in main() 64 test_constexpr<optional<int*>>(); in main() 65 test<optional<X>>(); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/optional/optional.hash/ |
D | hash.pass.cpp | 23 using std::experimental::optional; in main() 27 optional<T> opt; in main() 28 assert(std::hash<optional<T>>{}(opt) == 0); in main() 30 assert(std::hash<optional<T>>{}(opt) == std::hash<T>{}(*opt)); in main() 34 optional<T> opt; in main() 35 assert(std::hash<optional<T>>{}(opt) == 0); in main() 37 assert(std::hash<optional<T>>{}(opt) == std::hash<T>{}(*opt)); in main() 41 optional<T> opt; in main() 42 assert(std::hash<optional<T>>{}(opt) == 0); in main() 44 assert(std::hash<optional<T>>{}(opt) == std::hash<T>{}(*opt)); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/optional/optional.specalg/ |
D | swap.pass.cpp | 21 using std::experimental::optional; 71 optional<int> opt1; in main() 72 optional<int> opt2; in main() 81 optional<int> opt1(1); in main() 82 optional<int> opt2; in main() 93 optional<int> opt1; in main() 94 optional<int> opt2(2); in main() 105 optional<int> opt1(1); in main() 106 optional<int> opt2(2); in main() 119 optional<X> opt1; in main() [all …]
|
D | make_optional.pass.cpp | 25 using std::experimental::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()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/optional/optional.object/optional.object.swap/ |
D | swap.pass.cpp | 22 using std::experimental::optional; 72 optional<int> opt1; in main() 73 optional<int> opt2; in main() 82 optional<int> opt1(1); in main() 83 optional<int> opt2; in main() 94 optional<int> opt1; in main() 95 optional<int> opt2(2); in main() 106 optional<int> opt1(1); in main() 107 optional<int> opt2(2); in main() 120 optional<X> opt1; in main() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/experimental/ |
D | optional | 2 //===-------------------------- optional ----------------------------------===// 15 optional synopsis 23 // optional for object types 25 class optional 31 constexpr optional() noexcept; 32 constexpr optional(nullopt_t) noexcept; 33 optional(const optional&); 34 optional(optional&&) noexcept(is_nothrow_move_constructible<T>::value); 35 constexpr optional(const T&); 36 constexpr optional(T&&); [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/optional/optional.object/optional.object.observe/ |
D | value_or_const.pass.cpp | 20 using std::experimental::optional; 46 constexpr optional<X> opt(2); in main() 51 constexpr optional<X> opt(2); in main() 55 constexpr optional<X> opt; in main() 60 constexpr optional<X> opt; in main() 64 const optional<X> opt(2); in main() 69 const optional<X> opt(2); in main() 73 const optional<X> opt; in main() 78 const optional<X> opt; in main()
|
D | op_arrow_const.pass.cpp | 24 using std::experimental::optional; 48 constexpr optional<X> opt(X{}); in main() 52 constexpr optional<Y> opt(Y{}); in main() 56 constexpr optional<Z> opt(Z{}); in main() 61 const optional<X> opt; in main()
|
D | dereference_const.pass.cpp | 24 using std::experimental::optional; 42 constexpr optional<X> opt(X{}); in main() 46 constexpr optional<Y> opt(Y{}); in main() 51 const optional<X> opt; in main()
|
D | value_const.pass.cpp | 20 using std::experimental::optional; 39 constexpr optional<X> opt(in_place); in main() 43 const optional<X> opt(in_place); in main() 47 const optional<X> opt; in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/optional/optional.object/ |
D | types.pass.cpp | 24 using std::experimental::optional; 38 test<optional<int>, int>(); in main() 39 test<optional<const int>, const int>(); in main() 40 test<optional<double>, double>(); in main() 41 test<optional<const double>, const double>(); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/optional/optional.object/optional.object.dtor/ |
D | dtor.pass.cpp | 20 using std::experimental::optional; 40 static_assert(std::is_trivially_destructible<optional<T>>::value, ""); in main() 45 static_assert(std::is_trivially_destructible<optional<T>>::value, ""); in main() 50 static_assert(!std::is_trivially_destructible<optional<T>>::value, ""); in main() 53 optional<X> opt{x}; in main()
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/utils/runtime/ |
D | interpret_argument_value.hpp | 46 static bool _( cstring source, boost::optional<T>& res ) in _() 63 static bool _( cstring source, boost::optional<dstring>& res ) in _() 79 static bool _( cstring source, boost::optional<cstring>& res ) in _() 94 static bool _( cstring source, boost::optional<bool>& res ) in _() 126 interpret_argument_value( cstring source, boost::optional<T>& res, long ) in interpret_argument_value() 136 interpret_argument_value( cstring source, boost::optional<std::list<T> >& res, int ) in interpret_argument_value() 146 boost::optional<T> value; in interpret_argument_value()
|