C++ Logo

STD-DISCUSSION

Advanced search

Subject: Re: Not understanding rvalue reference matching rules in overloaded functions.
From: language.lawyer_at_[hidden]
Date: 2021-06-01 11:32:29


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`.


STD-DISCUSSION list run by std-discussion-owner@lists.isocpp.org

Older Archives on Google Groups