Re: [PATCH] PR libstdc++/60132, implement the remaining C++11 is_trivially_* traits

2014-10-09 Thread Ville Voutilainen
On 9 October 2014 01:45, Jonathan Wakely jwak...@redhat.com wrote: Some of the tests have copyright dates of 2012-2014 - I think they should be just 2014, even if you copied existing files. Some of them also had 010 as the month. :) Please break the ChangeLog entries to fit in 80 columns,

Re: [PATCH] PR libstdc++/60132, implement the remaining C++11 is_trivially_* traits

2014-10-09 Thread Paolo Carlini
Hi, On 10/09/2014 08:10 AM, Ville Voutilainen wrote: Ok, another try (I don't have write-after-approval, so please commit the patch once you think it's ok): Thanks Ville from me too. I'm taking care of the commit with a few very minor tweaks: 1- In new library testcases we are consistently

Re: [PATCH] PR libstdc++/60132, implement the remaining C++11 is_trivially_* traits

2014-10-09 Thread Jonathan Wakely
Now that we have is_trivially_copyable ... Update the docs and fix a TODO in atomic. I asked Doug Gregor recently about the __is_location_invariant trait that he used in our std::tr1::function and std::function implementations and he confirmed that in C++11 std::is_trivially_copyable is a

[PATCH] PR libstdc++/60132, implement the remaining C++11 is_trivially_* traits

2014-10-08 Thread Ville Voutilainen
Tested on Linux-X64. Massive thanks to Jason for doing the heavy lifting on the front-end side. 2014-10-08 Ville Voutilainen ville.voutilai...@gmail.com PR libstdc++/60132 * include/std/type_traits (is_trivially_copyable, is_trivially_constructible, is_trivially_default_constructible,

Re: [PATCH] PR libstdc++/60132, implement the remaining C++11 is_trivially_* traits

2014-10-08 Thread Jonathan Wakely
On 08/10/14 23:28 +0300, Ville Voutilainen wrote: PR libstdc++/60132 * include/std/type_traits (is_trivially_copyable, is_trivially_constructible, is_trivially_default_constructible, is_trivially_copy_constructible, is_trivially_move_constructible, is_trivially_assignable,