This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [v3 PATCH] Implement P0032R3, Homogeneous interface for variant, any and optional, for the parts concerning any and optional.
- From: Jonathan Wakely <jwakely at redhat dot com>
- To: Ville Voutilainen <ville dot voutilainen at gmail dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, libstdc++ <libstdc++ at gcc dot gnu dot org>
- Date: Thu, 14 Jul 2016 10:03:13 +0100
- Subject: Re: [v3 PATCH] Implement P0032R3, Homogeneous interface for variant, any and optional, for the parts concerning any and optional.
- Authentication-results: sourceware.org; auth=none
- References: <CAFk2RUbjMo5X0uDid2Yfw7c84OtQnHcux=8yhbGRMpULDS_JeQ@mail.gmail.com> <CAFk2RUZNhmXm9wDxFGuVqRCePhy0ODW-jiKEzjOi-jCaguorgg@mail.gmail.com> <CAFk2RUbTbrQz_yTo_EH7YGmr2FcxRGt5MVaSkM3xq7g4tgdzbA@mail.gmail.com>
This change replaced a Tab with 8 spaces, but the lines after it still
use Tabs:
@@ -641,12 +634,9 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
}
template<typename... _Args>
- void
+ enable_if_t<is_constructible<_Tp, _Args&&...>::value>
emplace(_Args&&... __args)
{
Might as well keep it consistent (and save 7 bytes! ;)
OK for trunk, thanks.