/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/ |
H A D | noncopyable_return_type.pass.cpp | 25 struct NonCopyable { struct 27 NonCopyable(NonCopyable&&) = delete; 28 friend bool operator==(NonCopyable, NonCopyable) { return true; } in operator ==() argument 33 NonCopyable operator()() const { return NonCopyable(); } in operator ()() 34 NonCopyable operator()(int) const { return NonCopyable(); } in operator ()() 35 NonCopyable f() const { return NonCopyable(); } in f() 40 std::function<NonCopyable()> f1a = []() { return NonCopyable(); }; in test() 41 std::function<NonCopyable()> f2a = +[]() { return NonCopyable(); }; in test() 44 std::function<NonCopyable(int)> f1b = [](int) { return NonCopyable(); }; in test() 45 std::function<NonCopyable(int)> f2b = +[](int) { return NonCopyable(); }; in test() [all …]
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/ |
H A D | noncopyable_return_type.pass.cpp | 25 struct NonCopyable { struct 27 NonCopyable(NonCopyable&&) = delete; 28 friend bool operator==(NonCopyable, NonCopyable) { return true; } in operator ==() argument 33 NonCopyable operator()() const { return NonCopyable(); } in operator ()() 34 NonCopyable operator()(int) const { return NonCopyable(); } in operator ()() 35 NonCopyable f() const { return NonCopyable(); } in f() 40 std::function<NonCopyable()> f1a = []() { return NonCopyable(); }; in test() 41 std::function<NonCopyable()> f2a = +[]() { return NonCopyable(); }; in test() 44 std::function<NonCopyable(int)> f1b = [](int) { return NonCopyable(); }; in test() 45 std::function<NonCopyable(int)> f2b = +[](int) { return NonCopyable(); }; in test() [all …]
|
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/ |
H A D | noncopyable_return_type.pass.cpp | 25 struct NonCopyable { struct 27 NonCopyable(NonCopyable&&) = delete; 28 friend bool operator==(NonCopyable, NonCopyable) { return true; } in operator ==() argument 33 NonCopyable operator()() const { return NonCopyable(); } in operator ()() 34 NonCopyable operator()(int) const { return NonCopyable(); } in operator ()() 35 NonCopyable f() const { return NonCopyable(); } in f() 40 std::function<NonCopyable()> f1a = []() { return NonCopyable(); }; in test() 41 std::function<NonCopyable()> f2a = +[]() { return NonCopyable(); }; in test() 44 std::function<NonCopyable(int)> f1b = [](int) { return NonCopyable(); }; in test() 45 std::function<NonCopyable(int)> f2b = +[](int) { return NonCopyable(); }; in test() [all …]
|
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/ |
H A D | noncopyable_return_type.pass.cpp | 23 struct NonCopyable { struct 25 NonCopyable(NonCopyable&&) = delete; 26 friend bool operator==(NonCopyable, NonCopyable) { return true; } in operator ==() argument 31 NonCopyable operator()() const { return NonCopyable(); } in operator ()() 32 NonCopyable operator()(int) const { return NonCopyable(); } in operator ()() 33 NonCopyable f() const { return NonCopyable(); } in f() 38 std::function<NonCopyable()> f1a = []() { return NonCopyable(); }; in test() 39 std::function<NonCopyable()> f2a = +[]() { return NonCopyable(); }; in test() 42 std::function<NonCopyable(int)> f1b = [](int) { return NonCopyable(); }; in test() 43 std::function<NonCopyable(int)> f2b = +[](int) { return NonCopyable(); }; in test() [all …]
|
/dports/devel/llvm12/llvm-project-12.0.1.src/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/ |
H A D | noncopyable_return_type.pass.cpp | 23 struct NonCopyable { struct 25 NonCopyable(NonCopyable&&) = delete; 26 friend bool operator==(NonCopyable, NonCopyable) { return true; } in operator ==() argument 31 NonCopyable operator()() const { return NonCopyable(); } in operator ()() 32 NonCopyable operator()(int) const { return NonCopyable(); } in operator ()() 33 NonCopyable f() const { return NonCopyable(); } in f() 38 std::function<NonCopyable()> f1a = []() { return NonCopyable(); }; in test() 39 std::function<NonCopyable()> f2a = +[]() { return NonCopyable(); }; in test() 42 std::function<NonCopyable(int)> f1b = [](int) { return NonCopyable(); }; in test() 43 std::function<NonCopyable(int)> f2b = +[](int) { return NonCopyable(); }; in test() [all …]
|
/dports/devel/llvm13/llvm-project-13.0.1.src/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/ |
H A D | noncopyable_return_type.pass.cpp | 25 struct NonCopyable { 27 NonCopyable(NonCopyable&&) = delete; 28 friend bool operator==(NonCopyable, NonCopyable) { return true; } 33 NonCopyable operator()() const { return NonCopyable(); } 34 NonCopyable operator()(int) const { return NonCopyable(); } 35 NonCopyable f() const { return NonCopyable(); } 40 std::function<NonCopyable()> f1a = []() { return NonCopyable(); }; 41 std::function<NonCopyable()> f2a = +[]() { return NonCopyable(); }; 44 std::function<NonCopyable(int)> f1b = [](int) { return NonCopyable(); }; 45 std::function<NonCopyable(int)> f2b = +[](int) { return NonCopyable(); }; [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/libcxx/test/std/utilities/function.objects/func.invoke/ |
H A D | invoke.pass.cpp | 48 struct NonCopyable { struct 49 NonCopyable() {} in NonCopyable() function 51 NonCopyable(NonCopyable const&) = delete; 52 NonCopyable& operator=(NonCopyable const&) = delete; 78 int& foo(NonCopyable&&) { in foo() argument 90 NonCopyable arg; in test_b12() 134 NonCopyable arg; in test_b5() 155 test_b12<int&(NonCopyable&&) &, int&>(cl); in bullet_one_two_tests() 167 test_b12<int&(NonCopyable&&) &, int&>(cl); in bullet_one_two_tests() 180 test_b12<int&(NonCopyable&&) &, int&>(cl); in bullet_one_two_tests() [all …]
|
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/libcxx/test/std/utilities/function.objects/func.invoke/ |
H A D | invoke.pass.cpp | 48 struct NonCopyable { struct 49 NonCopyable() {} in NonCopyable() argument 51 NonCopyable(NonCopyable const&) = delete; 52 NonCopyable& operator=(NonCopyable const&) = delete; 78 int& foo(NonCopyable&&) { in foo() argument 90 NonCopyable arg; in test_b12() 134 NonCopyable arg; in test_b5() 155 test_b12<int&(NonCopyable&&) &, int&>(cl); in bullet_one_two_tests() 167 test_b12<int&(NonCopyable&&) &, int&>(cl); in bullet_one_two_tests() 180 test_b12<int&(NonCopyable&&) &, int&>(cl); in bullet_one_two_tests() [all …]
|
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/libcxx/test/std/utilities/function.objects/func.invoke/ |
H A D | invoke.pass.cpp | 51 struct NonCopyable { struct 52 NonCopyable() {} in NonCopyable() function 54 NonCopyable(NonCopyable const&) = delete; 55 NonCopyable& operator=(NonCopyable const&) = delete; 81 int& foo(NonCopyable&&) { in foo() argument 93 NonCopyable arg; in test_b12() 137 NonCopyable arg; in test_b5() 158 test_b12<int&(NonCopyable&&) &, int&>(cl); in bullet_one_two_tests() 170 test_b12<int&(NonCopyable&&) &, int&>(cl); in bullet_one_two_tests() 183 test_b12<int&(NonCopyable&&) &, int&>(cl); in bullet_one_two_tests() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/buildtools/third_party/libc++/trunk/test/std/utilities/function.objects/func.invoke/ |
H A D | invoke.pass.cpp | 48 struct NonCopyable { struct 49 NonCopyable() {} in NonCopyable() function 51 NonCopyable(NonCopyable const&) = delete; 52 NonCopyable& operator=(NonCopyable const&) = delete; 78 int& foo(NonCopyable&&) { in foo() argument 90 NonCopyable arg; in test_b12() 134 NonCopyable arg; in test_b5() 155 test_b12<int&(NonCopyable&&) &, int&>(cl); in bullet_one_two_tests() 167 test_b12<int&(NonCopyable&&) &, int&>(cl); in bullet_one_two_tests() 180 test_b12<int&(NonCopyable&&) &, int&>(cl); in bullet_one_two_tests() [all …]
|
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/libcxx/test/std/utilities/function.objects/func.invoke/ |
H A D | invoke.pass.cpp | 48 struct NonCopyable { struct 49 NonCopyable() {} in NonCopyable() function 51 NonCopyable(NonCopyable const&) = delete; 52 NonCopyable& operator=(NonCopyable const&) = delete; 78 int& foo(NonCopyable&&) { in foo() argument 90 NonCopyable arg; in test_b12() 134 NonCopyable arg; in test_b5() 155 test_b12<int&(NonCopyable&&) &, int&>(cl); in bullet_one_two_tests() 167 test_b12<int&(NonCopyable&&) &, int&>(cl); in bullet_one_two_tests() 180 test_b12<int&(NonCopyable&&) &, int&>(cl); in bullet_one_two_tests() [all …]
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/libcxx/test/std/utilities/function.objects/func.invoke/ |
H A D | invoke.pass.cpp | 51 struct NonCopyable { struct 52 NonCopyable() {} in NonCopyable() function 54 NonCopyable(NonCopyable const&) = delete; 55 NonCopyable& operator=(NonCopyable const&) = delete; 81 int& foo(NonCopyable&&) { in foo() argument 93 NonCopyable arg; in test_b12() 137 NonCopyable arg; in test_b5() 158 test_b12<int&(NonCopyable&&) &, int&>(cl); in bullet_one_two_tests() 170 test_b12<int&(NonCopyable&&) &, int&>(cl); in bullet_one_two_tests() 183 test_b12<int&(NonCopyable&&) &, int&>(cl); in bullet_one_two_tests() [all …]
|
/dports/devel/libc++/libcxx-10.0.1.src/test/std/utilities/function.objects/func.invoke/ |
H A D | invoke.pass.cpp | 48 struct NonCopyable { struct 49 NonCopyable() {} in NonCopyable() function 51 NonCopyable(NonCopyable const&) = delete; 52 NonCopyable& operator=(NonCopyable const&) = delete; 78 int& foo(NonCopyable&&) { in foo() argument 90 NonCopyable arg; in test_b12() 134 NonCopyable arg; in test_b5() 155 test_b12<int&(NonCopyable&&) &, int&>(cl); in bullet_one_two_tests() 167 test_b12<int&(NonCopyable&&) &, int&>(cl); in bullet_one_two_tests() 180 test_b12<int&(NonCopyable&&) &, int&>(cl); in bullet_one_two_tests() [all …]
|
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/libcxx/test/std/utilities/function.objects/func.invoke/ |
H A D | invoke.pass.cpp | 51 struct NonCopyable { struct 52 NonCopyable() {} in NonCopyable() function 54 NonCopyable(NonCopyable const&) = delete; 55 NonCopyable& operator=(NonCopyable const&) = delete; 81 int& foo(NonCopyable&&) { in foo() argument 93 NonCopyable arg; in test_b12() 137 NonCopyable arg; in test_b5() 158 test_b12<int&(NonCopyable&&) &, int&>(cl); in bullet_one_two_tests() 170 test_b12<int&(NonCopyable&&) &, int&>(cl); in bullet_one_two_tests() 183 test_b12<int&(NonCopyable&&) &, int&>(cl); in bullet_one_two_tests() [all …]
|
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/libcxx/test/std/utilities/function.objects/func.invoke/ |
H A D | invoke.pass.cpp | 48 struct NonCopyable { struct 49 NonCopyable() {} in NonCopyable() argument 51 NonCopyable(NonCopyable const&) = delete; 52 NonCopyable& operator=(NonCopyable const&) = delete; 78 int& foo(NonCopyable&&) { in foo() argument 90 NonCopyable arg; in test_b12() 134 NonCopyable arg; in test_b5() 155 test_b12<int&(NonCopyable&&) &, int&>(cl); in bullet_one_two_tests() 167 test_b12<int&(NonCopyable&&) &, int&>(cl); in bullet_one_two_tests() 180 test_b12<int&(NonCopyable&&) &, int&>(cl); in bullet_one_two_tests() [all …]
|
/dports/devel/llvm12/llvm-project-12.0.1.src/libcxx/test/std/utilities/function.objects/func.invoke/ |
H A D | invoke.pass.cpp | 48 struct NonCopyable { struct 49 NonCopyable() {} in NonCopyable() argument 51 NonCopyable(NonCopyable const&) = delete; 52 NonCopyable& operator=(NonCopyable const&) = delete; 78 int& foo(NonCopyable&&) { in foo() argument 90 NonCopyable arg; in test_b12() 134 NonCopyable arg; in test_b5() 155 test_b12<int&(NonCopyable&&) &, int&>(cl); in bullet_one_two_tests() 167 test_b12<int&(NonCopyable&&) &, int&>(cl); in bullet_one_two_tests() 180 test_b12<int&(NonCopyable&&) &, int&>(cl); in bullet_one_two_tests() [all …]
|
/dports/devel/llvm13/llvm-project-13.0.1.src/libcxx/test/std/utilities/function.objects/func.invoke/ |
H A D | invoke.pass.cpp | 51 struct NonCopyable { struct 52 NonCopyable() {} in NonCopyable() function 54 NonCopyable(NonCopyable const&) = delete; 55 NonCopyable& operator=(NonCopyable const&) = delete; 81 int& foo(NonCopyable&&) { in foo() argument 93 NonCopyable arg; in test_b12() 137 NonCopyable arg; in test_b5() 158 test_b12<int&(NonCopyable&&) &, int&>(cl); in bullet_one_two_tests() 170 test_b12<int&(NonCopyable&&) &, int&>(cl); in bullet_one_two_tests() 183 test_b12<int&(NonCopyable&&) &, int&>(cl); in bullet_one_two_tests() [all …]
|
/dports/devel/aarch64-none-elf-gcc/gcc-8.4.0/gcc/testsuite/g++.dg/cpp0x/ |
H A D | defaulted13.C | 4 struct NonCopyable { struct 5 NonCopyable() = default; 6 NonCopyable(NonCopyable const&); 10 NonCopyable<int>::NonCopyable(NonCopyable<int> const&) = delete; // { dg-message "declared" } 13 NonCopyable<T>::NonCopyable(NonCopyable<T> const&) = default; 16 NonCopyable<double>::NonCopyable(NonCopyable<double> const&) = delete; // { dg-message "declared" } 21 NonCopyable<double> nc_dbl; in main() 24 NonCopyable<int> nc_int; in main() 25 NonCopyable<int> nc_int_cpy(nc_int); // { dg-error "use" } in main() 27 NonCopyable<char> nc_char; in main() [all …]
|
/dports/lang/gcc6-aux/gcc-6-20180516/gcc/testsuite/g++.dg/cpp0x/ |
H A D | defaulted13.C | 4 struct NonCopyable { struct 5 NonCopyable() = default; 6 NonCopyable(NonCopyable const&); 10 NonCopyable<int>::NonCopyable(NonCopyable<int> const&) = delete; // { dg-message "declared" } 13 NonCopyable<T>::NonCopyable(NonCopyable<T> const&) = default; 16 NonCopyable<double>::NonCopyable(NonCopyable<double> const&) = delete; // { dg-message "declared" } 21 NonCopyable<double> nc_dbl; in main() 24 NonCopyable<int> nc_int; in main() 25 NonCopyable<int> nc_int_cpy(nc_int); // { dg-error "use" } in main() 27 NonCopyable<char> nc_char; in main() [all …]
|
/dports/lang/gcc12-devel/gcc-12-20211205/gcc/testsuite/g++.dg/cpp0x/ |
H A D | defaulted13.C | 4 struct NonCopyable { struct 5 NonCopyable() = default; 6 NonCopyable(NonCopyable const&); 10 NonCopyable<int>::NonCopyable(NonCopyable<int> const&) = delete; // { dg-message "declared" } 13 NonCopyable<T>::NonCopyable(NonCopyable<T> const&) = default; 16 NonCopyable<double>::NonCopyable(NonCopyable<double> const&) = delete; // { dg-message "declared" } 21 NonCopyable<double> nc_dbl; in main() 24 NonCopyable<int> nc_int; in main() 25 NonCopyable<int> nc_int_cpy(nc_int); // { dg-error "use" } in main() 27 NonCopyable<char> nc_char; in main() [all …]
|
/dports/lang/gcc9/gcc-9.4.0/gcc/testsuite/g++.dg/cpp0x/ |
H A D | defaulted13.C | 4 struct NonCopyable { struct 5 NonCopyable() = default; 6 NonCopyable(NonCopyable const&); 10 NonCopyable<int>::NonCopyable(NonCopyable<int> const&) = delete; // { dg-message "declared" } 13 NonCopyable<T>::NonCopyable(NonCopyable<T> const&) = default; 16 NonCopyable<double>::NonCopyable(NonCopyable<double> const&) = delete; // { dg-message "declared" } 21 NonCopyable<double> nc_dbl; in main() 24 NonCopyable<int> nc_int; in main() 25 NonCopyable<int> nc_int_cpy(nc_int); // { dg-error "use" } in main() 27 NonCopyable<char> nc_char; in main() [all …]
|
/dports/devel/arm-none-eabi-gcc492/gcc-4.9.2/gcc/testsuite/g++.dg/cpp0x/ |
H A D | defaulted13.C | 4 struct NonCopyable { struct 5 NonCopyable() = default; 6 NonCopyable(NonCopyable const&); 10 NonCopyable<int>::NonCopyable(NonCopyable<int> const&) = delete; // { dg-message "declared" } 13 NonCopyable<T>::NonCopyable(NonCopyable<T> const&) = default; 16 NonCopyable<double>::NonCopyable(NonCopyable<double> const&) = delete; // { dg-message "declared" } 21 NonCopyable<double> nc_dbl; in main() 24 NonCopyable<int> nc_int; in main() 25 NonCopyable<int> nc_int_cpy(nc_int); // { dg-error "use" } in main() 27 NonCopyable<char> nc_char; in main() [all …]
|
/dports/devel/avr-gcc/gcc-10.2.0/gcc/testsuite/g++.dg/cpp0x/ |
H A D | defaulted13.C | 4 struct NonCopyable { struct 5 NonCopyable() = default; 6 NonCopyable(NonCopyable const&); 10 NonCopyable<int>::NonCopyable(NonCopyable<int> const&) = delete; // { dg-message "declared" } 13 NonCopyable<T>::NonCopyable(NonCopyable<T> const&) = default; 16 NonCopyable<double>::NonCopyable(NonCopyable<double> const&) = delete; // { dg-message "declared" } 21 NonCopyable<double> nc_dbl; in main() 24 NonCopyable<int> nc_int; in main() 25 NonCopyable<int> nc_int_cpy(nc_int); // { dg-error "use" } in main() 27 NonCopyable<char> nc_char; in main() [all …]
|
/dports/devel/riscv64-gcc/gcc-8.3.0/gcc/testsuite/g++.dg/cpp0x/ |
H A D | defaulted13.C | 4 struct NonCopyable { struct 5 NonCopyable() = default; 6 NonCopyable(NonCopyable const&); 10 NonCopyable<int>::NonCopyable(NonCopyable<int> const&) = delete; // { dg-message "declared" } 13 NonCopyable<T>::NonCopyable(NonCopyable<T> const&) = default; 16 NonCopyable<double>::NonCopyable(NonCopyable<double> const&) = delete; // { dg-message "declared" } 21 NonCopyable<double> nc_dbl; in main() 24 NonCopyable<int> nc_int; in main() 25 NonCopyable<int> nc_int_cpy(nc_int); // { dg-error "use" } in main() 27 NonCopyable<char> nc_char; in main() [all …]
|
/dports/lang/gnat_util/gcc-6-20180516/gcc/testsuite/g++.dg/cpp0x/ |
H A D | defaulted13.C | 4 struct NonCopyable { struct 5 NonCopyable() = default; 6 NonCopyable(NonCopyable const&); 10 NonCopyable<int>::NonCopyable(NonCopyable<int> const&) = delete; // { dg-message "declared" } 13 NonCopyable<T>::NonCopyable(NonCopyable<T> const&) = default; 16 NonCopyable<double>::NonCopyable(NonCopyable<double> const&) = delete; // { dg-message "declared" } 21 NonCopyable<double> nc_dbl; in main() 24 NonCopyable<int> nc_int; in main() 25 NonCopyable<int> nc_int_cpy(nc_int); // { dg-error "use" } in main() 27 NonCopyable<char> nc_char; in main() [all …]
|