This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [v3 PATCH] Implement C++17 make_from_tuple.


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. :)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]