[Patch] Fix variant::operator= on references
Ville Voutilainen
ville.voutilainen@gmail.com
Thu Sep 22 10:06:00 GMT 2016
On 22 September 2016 at 13:03, Jonathan Wakely <jwakely@redhat.com> wrote:
> On 22/09/16 01:49 -0700, Tim Shen wrote:
>>
>> Done. When writing the initial version, I was trying to save as much
>> qualifications as possible (as long as the semantic doesn't change)
>> for readability, but that might not be a good idea.
>
>
> It does change the semantics, as forward<_Tp>(__tp) can find another
> function via ADL (see the new test in this patch).
Yeah, it's not a question about readability or style, unqualified
function calls attract
the ADL demons like fairies attract vampires.
More information about the Libstdc++
mailing list