On 11 August 2016 at 20:45, Ed Smith-Rowland <3dw...@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.voutilai...@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. :)