Lines Matching refs:move

78     const V v(std::move(x));  in test_const_lvalue_get()
85 const V v(std::move(x)); in test_const_lvalue_get()
125 V v(std::move(x)); in test_lvalue_get()
132 V v(std::move(x)); in test_lvalue_get()
143 ASSERT_NOT_NOEXCEPT(std::get<0>(std::move(v))); in test_rvalue_get()
144 ASSERT_SAME_TYPE(decltype(std::get<0>(std::move(v))), int &&); in test_rvalue_get()
145 assert(std::get<0>(std::move(v)) == 42); in test_rvalue_get()
150 ASSERT_SAME_TYPE(decltype(std::get<1>(std::move(v))), const long &&); in test_rvalue_get()
151 assert(std::get<1>(std::move(v)) == 42); in test_rvalue_get()
159 ASSERT_SAME_TYPE(decltype(std::get<0>(std::move(v))), int &); in test_rvalue_get()
160 assert(&std::get<0>(std::move(v)) == &x); in test_rvalue_get()
166 ASSERT_SAME_TYPE(decltype(std::get<0>(std::move(v))), const int &); in test_rvalue_get()
167 assert(&std::get<0>(std::move(v)) == &x); in test_rvalue_get()
172 V v(std::move(x)); in test_rvalue_get()
173 ASSERT_SAME_TYPE(decltype(std::get<0>(std::move(v))), int &&); in test_rvalue_get()
174 int &&xref = std::get<0>(std::move(v)); in test_rvalue_get()
180 V v(std::move(x)); in test_rvalue_get()
181 ASSERT_SAME_TYPE(decltype(std::get<0>(std::move(v))), const int &&); in test_rvalue_get()
182 const int &&xref = std::get<0>(std::move(v)); in test_rvalue_get()
192 ASSERT_NOT_NOEXCEPT(std::get<0>(std::move(v))); in test_const_rvalue_get()
193 ASSERT_SAME_TYPE(decltype(std::get<0>(std::move(v))), const int &&); in test_const_rvalue_get()
194 assert(std::get<0>(std::move(v)) == 42); in test_const_rvalue_get()
199 ASSERT_SAME_TYPE(decltype(std::get<1>(std::move(v))), const long &&); in test_const_rvalue_get()
200 assert(std::get<1>(std::move(v)) == 42); in test_const_rvalue_get()
208 ASSERT_SAME_TYPE(decltype(std::get<0>(std::move(v))), int &); in test_const_rvalue_get()
209 assert(&std::get<0>(std::move(v)) == &x); in test_const_rvalue_get()
215 ASSERT_SAME_TYPE(decltype(std::get<0>(std::move(v))), const int &); in test_const_rvalue_get()
216 assert(&std::get<0>(std::move(v)) == &x); in test_const_rvalue_get()
221 const V v(std::move(x)); in test_const_rvalue_get()
222 ASSERT_SAME_TYPE(decltype(std::get<0>(std::move(v))), int &&); in test_const_rvalue_get()
223 int &&xref = std::get<0>(std::move(v)); in test_const_rvalue_get()
229 const V v(std::move(x)); in test_const_rvalue_get()
230 ASSERT_SAME_TYPE(decltype(std::get<0>(std::move(v))), const int &&); in test_const_rvalue_get()
231 const int &&xref = std::get<0>(std::move(v)); in test_const_rvalue_get()
269 assert(test(one, std::move(v0))); in test_throws_for_all_value_categories()
270 assert(test(zero, std::move(v1))); in test_throws_for_all_value_categories()
273 assert(test(one, std::move(cv0))); in test_throws_for_all_value_categories()
274 assert(test(zero, std::move(cv1))); in test_throws_for_all_value_categories()