This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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 make_array and to_array from the Fundamentals v2 TS draft


On 13 July 2015 at 01:25, Ville Voutilainen <ville.voutilainen@gmail.com> wrote:
> On 12 July 2015 at 21:45, Ville Voutilainen <ville.voutilainen@gmail.com> wrote:
>> Tested on Linux-PPC64.
>>
>> 2015-07-12  Ville Voutilainen  <ville.voutilainen@gmail.com>
>>     Implement std::experimental::fundamentals_v2::make_array and
>>     std::experimental::fundamentals_v2::to_array.
>>     * include/Makefile.am: Add array.
>>     * include/Makefile.in: Add array.
>>     * include/experimental/array: New.
>>     * testsuite/experimental/array/make_array.cc: Likewise.
>>     * testsuite/experimental/array/neg.cc: Likewise.
>
> Very minor cleanup in a new patch, use is_void<_D> instead of is_same<_D, void>,
> indent the static assert a bit more clearly.

Oops, the implementation failed to forward() in make_array, new patch attached,
with a test for make_array with a move-only type.

Attachment: make_array3.diff
Description: Text document


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