/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/std/thread/futures/futures.promise/ |
H A D | copy_ctor.fail.cpp | 14 // class promise<R> 16 // promise(const promise&) = delete; 26 std::promise<int> p0; 27 std::promise<int> p(p0); // expected-error {{call to deleted constructor of 'std::promise<int>'}} 30 std::promise<int &> p0; 31 std::promise<int &> p(p0); // expected-error {{call to deleted constructor of 'std::promise<int &>'}} 34 std::promise<voi [all...] |
H A D | copy_assign.fail.cpp | 14 // class promise<R> 16 // promise& operator=(const promise& rhs) = delete; 26 std::promise<int> p0, p; 30 std::promise<int&> p0, p; 34 std::promise<void> p0, p; 39 std::promise<int> p0, p; 40 p = p0; // expected-error {{'operator=' is a private member of 'std::__1::promise<int>'}} 43 std::promise<int&> p0, p; 44 p = p0; // expected-error {{'operator=' is a private member of 'std::__1::promise<in [all...] |
H A D | uses_allocator.pass.cpp | 14 // class promise<R> 17 // struct uses_allocator<promise<R>, Alloc> 25 static_assert((std::uses_allocator<std::promise<int>, test_allocator<int> >::value), ""); 26 static_assert((std::uses_allocator<std::promise<int&>, test_allocator<int> >::value), ""); 27 static_assert((std::uses_allocator<std::promise<void>, test_allocator<void> >::value), "");
|
H A D | default.pass.cpp | 15 // class promise<R> 17 // promise(); 25 std::promise<int> p; 30 std::promise<int&> p; 35 std::promise<void> p;
|
H A D | set_lvalue_at_thread_exit.pass.cpp | 15 // class promise<R> 17 // void promise<R&>::set_value_at_thread_exit(R& r); 25 void func(std::promise<int&> p) 34 std::promise<int&> p;
|
H A D | set_value_at_thread_exit_const.pass.cpp | 15 // class promise<R> 17 // void promise::set_value_at_thread_exit(const R& r); 22 void func(std::promise<int> p) 31 std::promise<int> p;
|
H A D | set_value_at_thread_exit_void.pass.cpp | 15 // class promise<R> 17 // void promise<void>::set_value_at_thread_exit(); 25 void func(std::promise<void> p) 34 std::promise<void> p;
|
H A D | alloc_ctor.pass.cpp | 15 // class promise<R> 18 // promise(allocator_arg_t, const Allocator& a); 30 std::promise<int> p(std::allocator_arg, test_allocator<int>(42)); 38 std::promise<int&> p(std::allocator_arg, test_allocator<int>(42)); 46 std::promise<void> p(std::allocator_arg, test_allocator<void>(42)); 55 std::promise<int> p(std::allocator_arg, bare_allocator<void>()); 60 std::promise<int&> p(std::allocator_arg, bare_allocator<void>()); 65 std::promise<void> p(std::allocator_arg, bare_allocator<void>()); 71 std::promise<int> p(std::allocator_arg, min_allocator<void>()); 76 std::promise<in [all...] |
H A D | get_future.pass.cpp | 16 // class promise<R> 26 std::promise<double> p; 32 std::promise<double> p; 45 std::promise<double> p; 46 std::promise<double> p0 = std::move(p);
|
H A D | set_exception_at_thread_exit.pass.cpp | 16 // class promise<R> 18 // void promise::set_exception_at_thread_exit(exception_ptr p); 23 void func(std::promise<int> p) 33 std::promise<T> p;
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/thread/futures/futures.promise/ |
H A D | copy_ctor.fail.cpp | 14 // class promise<R> 16 // promise(const promise&) = delete; 26 std::promise<int> p0; 27 std::promise<int> p(p0); // expected-error {{call to deleted constructor of 'std::promise<int>'}} 30 std::promise<int &> p0; 31 std::promise<int &> p(p0); // expected-error {{call to deleted constructor of 'std::promise<int &>'}} 34 std::promise<voi [all...] |
H A D | copy_assign.fail.cpp | 14 // class promise<R> 16 // promise& operator=(const promise& rhs) = delete; 26 std::promise<int> p0, p; 30 std::promise<int&> p0, p; 34 std::promise<void> p0, p; 39 std::promise<int> p0, p; 40 p = p0; // expected-error {{'operator=' is a private member of 'std::__1::promise<int>'}} 43 std::promise<int&> p0, p; 44 p = p0; // expected-error {{'operator=' is a private member of 'std::__1::promise<in [all...] |
H A D | uses_allocator.pass.cpp | 14 // class promise<R> 17 // struct uses_allocator<promise<R>, Alloc> 25 static_assert((std::uses_allocator<std::promise<int>, test_allocator<int> >::value), ""); 26 static_assert((std::uses_allocator<std::promise<int&>, test_allocator<int> >::value), ""); 27 static_assert((std::uses_allocator<std::promise<void>, test_allocator<void> >::value), "");
|
H A D | default.pass.cpp | 15 // class promise<R> 17 // promise(); 25 std::promise<int> p; 30 std::promise<int&> p; 35 std::promise<void> p;
|
H A D | set_lvalue_at_thread_exit.pass.cpp | 15 // class promise<R> 17 // void promise<R&>::set_value_at_thread_exit(R& r); 25 void func(std::promise<int&> p) 34 std::promise<int&> p;
|
H A D | set_value_at_thread_exit_const.pass.cpp | 15 // class promise<R> 17 // void promise::set_value_at_thread_exit(const R& r); 22 void func(std::promise<int> p) 31 std::promise<int> p;
|
H A D | set_value_at_thread_exit_void.pass.cpp | 15 // class promise<R> 17 // void promise<void>::set_value_at_thread_exit(); 25 void func(std::promise<void> p) 34 std::promise<void> p;
|
H A D | alloc_ctor.pass.cpp | 15 // class promise<R> 18 // promise(allocator_arg_t, const Allocator& a); 30 std::promise<int> p(std::allocator_arg, test_allocator<int>(42)); 38 std::promise<int&> p(std::allocator_arg, test_allocator<int>(42)); 46 std::promise<void> p(std::allocator_arg, test_allocator<void>(42)); 55 std::promise<int> p(std::allocator_arg, bare_allocator<void>()); 60 std::promise<int&> p(std::allocator_arg, bare_allocator<void>()); 65 std::promise<void> p(std::allocator_arg, bare_allocator<void>()); 71 std::promise<int> p(std::allocator_arg, min_allocator<void>()); 76 std::promise<in [all...] |
H A D | get_future.pass.cpp | 16 // class promise<R> 26 std::promise<double> p; 32 std::promise<double> p; 45 std::promise<double> p; 46 std::promise<double> p0 = std::move(p);
|
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.promise/ |
H A D | uses_allocator.pass.cpp | 12 // class promise<R> 15 // struct uses_allocator<promise<R>, Alloc> 23 static_assert((std::uses_allocator<std::promise<int>, test_allocator<int> >::value), ""); 24 static_assert((std::uses_allocator<std::promise<int&>, test_allocator<int> >::value), ""); 25 static_assert((std::uses_allocator<std::promise<void>, test_allocator<void> >::value), "");
|
H A D | default.pass.cpp | 12 // class promise<R> 14 // promise(); 22 std::promise<int> p; 27 std::promise<int&> p; 32 std::promise<void> p;
|
H A D | set_lvalue_at_thread_exit.pass.cpp | 12 // class promise<R> 14 // void promise<R&>::set_value_at_thread_exit(R& r); 22 void func(std::promise<int&> p) 31 std::promise<int&> p;
|
H A D | set_value_at_thread_exit_const.pass.cpp | 12 // class promise<R> 14 // void promise::set_value_at_thread_exit(const R& r); 19 void func(std::promise<int> p) 28 std::promise<int> p;
|
H A D | set_value_at_thread_exit_void.pass.cpp | 12 // class promise<R> 14 // void promise<void>::set_value_at_thread_exit(); 22 void func(std::promise<void> p) 31 std::promise<void> p;
|
H A D | get_future.pass.cpp | 12 // class promise<R> 22 std::promise<double> p; 28 std::promise<double> p; 41 std::promise<double> p; 42 std::promise<double> p0 = std::move(p);
|