22 TEST(RvalueReferenceWrapper, MoveAndConvert) {
27 rvalue_reference_wrapper<int> rref1(
std::move(i1));
29 rvalue_reference_wrapper<int> rref0(
std::move(rref1));
41 rvalue_reference_wrapper<int> rref2(
std::move(i2));
47 rvalue_reference_wrapper<const int> rref3(
std::move(i3));
53 rvalue_reference_wrapper<const int> rref4(
std::move(i4));
74 TEST(RvalueReferenceWrapper, Call) {
76 auto callMe = [&](
int x,
const int&
y,
int&&
z) ->
int {
#define ASSERT_EQ(val1, val2)
#define EXPECT_EQ(val1, val2)
constexpr detail::Map< Move > move
TEST(RvalueReferenceWrapper, MoveAndConvert)
rvalue_reference_wrapper< T > rref(T &&value) noexcept
#define ASSERT_FALSE(condition)
#define ASSERT_TRUE(condition)