• Home
  • Raw
  • Download

Lines Matching refs:swap

50     friend void swap(Y& x, Y& y) {std::swap(x.i_, y.i_);}  in swap()  function
63 friend void swap(Z&, Z&) { TEST_THROW(6);} in swap() function
70 void swap(NonSwappable&, NonSwappable&) = delete;
103 std::swap(L, R); in test_swap_sfinae()
119 static_assert(noexcept(swap(opt1, opt2)) == true, ""); in main()
122 swap(opt1, opt2); in main()
129 static_assert(noexcept(swap(opt1, opt2)) == true, ""); in main()
133 swap(opt1, opt2); in main()
141 static_assert(noexcept(swap(opt1, opt2)) == true, ""); in main()
145 swap(opt1, opt2); in main()
153 static_assert(noexcept(swap(opt1, opt2)) == true, ""); in main()
158 swap(opt1, opt2); in main()
167 static_assert(noexcept(swap(opt1, opt2)) == true, ""); in main()
170 swap(opt1, opt2); in main()
178 static_assert(noexcept(swap(opt1, opt2)) == true, ""); in main()
183 swap(opt1, opt2); in main()
192 static_assert(noexcept(swap(opt1, opt2)) == true, ""); in main()
197 swap(opt1, opt2); in main()
206 static_assert(noexcept(swap(opt1, opt2)) == true, ""); in main()
212 swap(opt1, opt2); in main()
222 static_assert(noexcept(swap(opt1, opt2)) == false, ""); in main()
225 swap(opt1, opt2); in main()
233 static_assert(noexcept(swap(opt1, opt2)) == false, ""); in main()
238 swap(opt1, opt2); in main()
247 static_assert(noexcept(swap(opt1, opt2)) == false, ""); in main()
252 swap(opt1, opt2); in main()
261 static_assert(noexcept(swap(opt1, opt2)) == false, ""); in main()
267 swap(opt1, opt2); in main()
277 static_assert(noexcept(swap(opt1, opt2)) == false, ""); in main()
280 swap(opt1, opt2); in main()
289 static_assert(noexcept(swap(opt1, opt2)) == false, ""); in main()
295 swap(opt1, opt2); in main()
310 static_assert(noexcept(swap(opt1, opt2)) == false, ""); in main()
316 swap(opt1, opt2); in main()
332 static_assert(noexcept(swap(opt1, opt2)) == false, ""); in main()
339 swap(opt1, opt2); in main()