This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [v3 PATCH] Implement C++17 make_from_tuple.
- From: Ville Voutilainen <ville dot voutilainen at gmail dot com>
- To: Ed Smith-Rowland <3dw4rd at verizon dot net>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>, "libstdc++ at gcc dot gnu dot org" <libstdc++ at gcc dot gnu dot org>
- Date: Thu, 11 Aug 2016 21:05:35 +0300
- Subject: Re: [v3 PATCH] Implement C++17 make_from_tuple.
- Authentication-results: sourceware.org; auth=none
- References: <d4bd4bea-2cf7-90d7-a139-1c101176c51c@verizon.net> <d76f99a7-f239-9d15-5d5e-e6886f18ffc1@verizon.net>
On 11 August 2016 at 20:45, Ed Smith-Rowland <3dw4rd@verizon.net> wrote:
> On 08/10/2016 08:04 PM, Ville Voutilainen wrote:
>
> I was in the middle of doing this, so here's the patch before I commit
> the string_view one.
>
> Tested on Linux-x64.
>
> 2016-08-11 Ville Voutilainen <ville.voutilainen@gmail.com>
>
> Implement C++17 make_from_tuple.
> * include/std/tuple (__make_from_tuple_impl, make_from_tuple): New.
> * testsuite/20_util/tuple/make_from_tuple/1.cc: Likewise.
>
> The latest SD-6 has a feature test macro;
>
> #define __cpp_lib_make_from_tuple 201606
>
>
> Also the test should get:
>
> #ifndef __cpp_lib_make_from_tuple
> # error "Feature-test macro for make_from_tuple missing"
> #elif __cpp_lib_make_from_tuple != 201606
> # error "Feature-test macro for make_from_tuple has wrong value"
> #endif
Thanks, I tried to find a recent SD-6 when looking for a feature macro
for make_from_tuple, but couldn't find one.
I was not looking in the right place. :)