C++ Logo

std-discussion

Advanced search

Re: Not understanding rvalue reference matching rules in overloaded functions.

From: language.lawyer_at <language.lawyer_at_[hidden]>
Date: Tue, 1 Jun 2021 19:32:29 +0300
On 01/06/2021 16:54, Edward Diener via Std-Discussion wrote:
> Since std::move creates an rvalue reference

There is no such thing as «create reference» in C++.
And the type of the `std::move(i)` is `int`.

Received on 2021-06-01 11:32:35