This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [Patch] Fix variant::operator= on references
- From: Tim Shen <timshen at google dot com>
- To: Jonathan Wakely <jwakely at redhat dot com>
- Cc: "libstdc++" <libstdc++ at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>, Ville Voutilainen <ville dot voutilainen at gmail dot com>
- Date: Thu, 22 Sep 2016 03:40:32 -0700
- Subject: Re: [Patch] Fix variant::operator= on references
- Authentication-results: sourceware.org; auth=none
- References: <CAG4ZjNn3pK3LhyPSRxVT1gzmmbBuCcjnqOtsP3ZOiXJM=eFcew@mail.gmail.com> <20160922083952.GT17376@redhat.com> <CAG4ZjN=4Rw8k_c-BqetSRLOJD-eQQazYmDi23m-6YoDY7x8kfQ@mail.gmail.com> <20160922100313.GW17376@redhat.com> <CAG4ZjNkQGBifkZeMnhCGujMSQhk11G_uPBFk10ozUKZwJPQvBA@mail.gmail.com>
On Thu, Sep 22, 2016 at 3:36 AM, Tim Shen <timshen@google.com> wrote:
> Then my question is, what about type traits uses like
> is_copy_constructible? I have seen non-qualified uses in std::any and
> std::optional and other places. Should all of them be qualified?
Ah never mind, I realized that *usually* a type trait use is not part
of a function call, so ADL is not triggered.
--
Regards,
Tim Shen