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: [PATCH] PR libstdc++/60132, implement the remaining C++11 is_trivially_* traits


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 better test.

Ville pointed out on IRC that we might also be able to use it in
<bits/stl_algobase.h> instead of __is_trivial but I haven't
investigated that properly.

Tested x86_64-linux, committed to trunk.

Attachment: 1.txt
Description: Text document

Attachment: 2.txt
Description: Text document

Attachment: 3.txt
Description: Text document


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