/ndk/sources/cxx-stl/stlport/stlport/stl/ |
H A D | _relops_hash_cont.h | 9 swap(_STLP_TEMPLATE_CONTAINER& __hm1, _STLP_TEMPLATE_CONTAINER& __hm2) { function 10 __hm1.swap(__hm2);
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/optional/ |
H A D | optional_fwd.hpp | 13 // 10 May 2008 (added swap related forward declaration) Niels Dekker 22 template<class T> void swap ( optional<T>& , optional<T>& ) ;
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.nonmembers/string.special/ |
H A D | swap_noexcept.pass.cpp | 12 // void swap(basic_string& c) 41 static_assert(noexcept(swap(c1, c2)), ""); 46 static_assert(noexcept(swap(c1, c2)), ""); 51 static_assert(!noexcept(swap(c1, c2)), "");
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/optional/optional.object/optional.object.swap/ |
H A D | swap.pass.cpp | 12 // void swap(optional&) 14 // noexcept(swap(declval<T&>(), declval<T&>()))); 49 friend void swap(Y& x, Y& y) {std::swap(x.i_, y.i_);} function in class:Y 62 friend void swap(Z& x, Z& y) {throw 6;} function in class:Z 74 static_assert(noexcept(opt1.swap(opt2)) == true, ""); 77 opt1.swap(opt2); 84 static_assert(noexcept(opt1.swap(opt2)) == true, ""); 88 opt1.swap(opt2); 96 static_assert(noexcept(opt1.swap(opt [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/optional/optional.specalg/ |
H A D | swap.pass.cpp | 12 // template <class T> void swap(optional<T>& x, optional<T>& y) 13 // noexcept(noexcept(x.swap(y))); 48 friend void swap(Y& x, Y& y) {std::swap(x.i_, y.i_);} function in class:Y 61 friend void swap(Z& x, Z& y) {throw 6;} function in class:Z 73 static_assert(noexcept(swap(opt1, opt2)) == true, ""); 76 swap(opt1, opt2); 83 static_assert(noexcept(swap(opt1, opt2)) == true, ""); 87 swap(opt1, opt2); 95 static_assert(noexcept(swap(opt [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/map/map.special/ |
H A D | swap_noexcept.pass.cpp | 12 // void swap(map& c) 42 static_assert(noexcept(swap(c1, c2)), ""); 47 static_assert(noexcept(swap(c1, c2)), ""); 52 static_assert(noexcept(swap(c1, c2)), ""); 57 static_assert(!noexcept(swap(c1, c2)), "");
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/multimap/multimap.special/ |
H A D | swap_noexcept.pass.cpp | 12 // void swap(multimap& c) 42 static_assert(noexcept(swap(c1, c2)), ""); 47 static_assert(noexcept(swap(c1, c2)), ""); 52 static_assert(noexcept(swap(c1, c2)), ""); 57 static_assert(!noexcept(swap(c1, c2)), "");
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/multiset/multiset.special/ |
H A D | swap_noexcept.pass.cpp | 12 // void swap(multiset& c) 42 static_assert(noexcept(swap(c1, c2)), ""); 47 static_assert(noexcept(swap(c1, c2)), ""); 52 static_assert(noexcept(swap(c1, c2)), ""); 57 static_assert(!noexcept(swap(c1, c2)), "");
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/set/set.special/ |
H A D | swap_noexcept.pass.cpp | 12 // void swap(set& c) 42 static_assert(noexcept(swap(c1, c2)), ""); 47 static_assert(noexcept(swap(c1, c2)), ""); 52 static_assert(noexcept(swap(c1, c2)), ""); 57 static_assert(!noexcept(swap(c1, c2)), "");
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/container.adaptors/priority.queue/priqueue.special/ |
H A D | swap_noexcept.pass.cpp | 12 // void swap(priority_queue& c) 29 static_assert(noexcept(swap(c1, c2)), "");
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/container.adaptors/queue/queue.special/ |
H A D | swap_noexcept.pass.cpp | 12 // void swap(queue& c) 28 static_assert(noexcept(swap(c1, c2)), "");
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/container.adaptors/stack/stack.special/ |
H A D | swap_noexcept.pass.cpp | 12 // void swap(stack& c) 28 static_assert(noexcept(swap(c1, c2)), "");
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/deque/deque.special/ |
H A D | swap_noexcept.pass.cpp | 12 // void swap(deque& c) 42 static_assert(noexcept(swap(c1, c2)), ""); 47 static_assert(noexcept(swap(c1, c2)), ""); 52 static_assert(noexcept(swap(c1, c2)), ""); 57 static_assert(!noexcept(swap(c1, c2)), "");
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/forwardlist/forwardlist.spec/ |
H A D | swap_noexcept.pass.cpp | 12 // void swap(forward_list& c) 42 static_assert(noexcept(swap(c1, c2)), ""); 47 static_assert(noexcept(swap(c1, c2)), ""); 52 static_assert(noexcept(swap(c1, c2)), ""); 57 static_assert(!noexcept(swap(c1, c2)), "");
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/list/list.special/ |
H A D | swap_noexcept.pass.cpp | 12 // void swap(list& c) 42 static_assert(noexcept(swap(c1, c2)), ""); 47 static_assert(noexcept(swap(c1, c2)), ""); 52 static_assert(noexcept(swap(c1, c2)), ""); 57 static_assert(!noexcept(swap(c1, c2)), "");
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/vector/vector.special/ |
H A D | swap_noexcept.pass.cpp | 12 // void swap(vector& c) 42 static_assert(noexcept(swap(c1, c2)), ""); 47 static_assert(noexcept(swap(c1, c2)), ""); 52 static_assert(noexcept(swap(c1, c2)), ""); 57 static_assert(!noexcept(swap(c1, c2)), "");
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/vector.bool/ |
H A D | swap_noexcept.pass.cpp | 12 // void swap(vector& c) 41 static_assert(noexcept(swap(c1, c2)), ""); 46 static_assert(noexcept(swap(c1, c2)), ""); 51 static_assert(noexcept(swap(c1, c2)), ""); 56 static_assert(!noexcept(swap(c1, c2)), "");
|
H A D | swap.pass.cpp | 13 // void swap(vector& x); 25 v1.swap(v2); 35 swap(v1, v2); 47 swap(v1, v2); 60 using std::swap; 61 swap(r1, r2); 69 v1.swap(v2); 79 swap(v1, v2); 92 using std::swap; 93 swap(r [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/ifstream.assign/ |
H A D | member_swap.pass.cpp | 15 // void swap(basic_ifstream& rhs); 25 fs1.swap(fs2); 35 fs1.swap(fs2);
|
H A D | nonmember_swap.pass.cpp | 16 // void swap(basic_ifstream<charT, traits>& x, basic_ifstream<charT, traits>& y); 26 swap(fs1, fs2); 36 swap(fs1, fs2);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.mod/ |
H A D | member_swap.pass.cpp | 14 // void swap(shared_lock& u) noexcept; 36 lk1.swap(lk2); 41 static_assert(noexcept(lk1.swap(lk2)), "member swap must be noexcept");
|
H A D | nonmember_swap.pass.cpp | 15 // void swap(shared_lock<Mutex>& x, shared_lock<Mutex>& y) noexcept; 37 swap(lk1, lk2); 42 static_assert(noexcept(swap(lk1, lk2)), "non-member swap must be noexcept");
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/utility/utility.swap/ |
H A D | swap.pass.cpp | 15 // swap(T& a, T& b); 28 std::swap(i, j); 40 std::swap(i, j);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/string.streams/stringbuf/stringbuf.assign/ |
H A D | member_swap.pass.cpp | 15 // void swap(basic_stringbuf& rhs); 25 buf.swap(buf1); 32 buf.swap(buf1); 39 buf.swap(buf1); 46 buf.swap(buf1); 53 buf.swap(buf1); 60 buf.swap(buf1);
|
H A D | nonmember_swap.pass.cpp | 16 // void swap(basic_stringbuf<charT, traits, Allocator>& x, 27 swap(buf, buf1); 34 swap(buf, buf1); 41 swap(buf, buf1); 48 swap(buf, buf1); 55 swap(buf, buf1); 62 swap(buf, buf1);
|