[Patch] Implement is_[nothrow_]swappable (p0185r1) - 2nd try

Daniel Krügler daniel.kruegler@gmail.com
Wed Jun 15 18:07:00 GMT 2016


2016-06-14 23:22 GMT+02:00 Daniel Krügler <daniel.kruegler@gmail.com>:
> This is an implementation of the Standard is_swappable traits according to
>
> http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0185r1.html
>
> During that work it has been found that std::array's member swap's exception
> specification for zero-size arrays was incorrectly depending on the value_type
> and that was fixed as well.
>
> This patch is *untested*, because I cannot make the tests run on my
> Windows system.
>
> Upon the suggestion of Mike Stump I'm proposing this patch
> nonetheless, asking for sending
> me as specific feedback as possible for any failing tests so that I
> can try to make further
> adjustments if needed.

And now also with the promised patch files.

> Thanks for your patience,
>
> - Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: changelog.patch
Type: application/octet-stream
Size: 2378 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20160615/ed7cee52/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: is_swappable_2.patch
Type: application/octet-stream
Size: 106068 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20160615/ed7cee52/attachment-0001.obj>


More information about the Libstdc++ mailing list