https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43144
Jonathan Wakely changed:
What|Removed |Added
Resolution|--- |WORKSFORME
Status|UNCONFIR
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43144
--- Comment #2 from Alisdair Meredith ---
gcc 4.5 and later correctly report errors, as the language specification for
rvalue and forwarding references changed between 4.4 and 4.5.
I'm not sure what ADL bug I thought I was hitting, but with the
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43144
--- Comment #1 from Andrew Pinski ---
Starting GCC 4.5.x we get the following error message first:
: In function 'typename std::remove_reference<_Tp>::type&&
std0x::move(T&&) [with T = int&, typename std::remove_reference<_Tp>::type =
int]':
:36: