[PATCH 1/2] libstdc++: Add std::align.

Jonathan Wakely jwakely@redhat.com
Mon Oct 13 10:04:00 GMT 2014


On 16/04/14 17:06 +0200, Rüdiger Sonderfeld wrote:
>C++11 [ptr.align].
>
>This should probably not be inline.  But for now this avoids any ABI
>changes.
>
>* libstdc++-v3/testsuite/20_util/align/1.cc: New file.
>* libstdc++-v3/include/std/memory (align): New function.

Fixed (the new function should be in namespace std!) and applied to
trunk. Thanks for the patch.

Tested x86_64-linux.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.txt
Type: text/x-patch
Size: 4041 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20141013/fb7f93c1/attachment.bin>


More information about the Libstdc++ mailing list