This is the mail archive of the
mailing list for the GCC project.
Re: Value type of map need not be default copyable
On Sun, 12 Aug 2012, Jonathan Wakely wrote:
On 11 August 2012 14:47, Marc Glisse wrote:
What testcase failed? I just tried the 2.cc file you added with the patch,
and replacing forward<key_type>(__k) with move(__k) compiled fine.
Shouldn't it be std::move(__k) to disable ADL though?
It is written std::forward, so replacing forward with move gives std::move
(OK, that was just luck, good remark)