[committed 2/2] libstdc++: Add [[nodiscard]] to sequence containers

Jonathan Wakely jwakely@redhat.com
Wed Aug 4 11:56:36 GMT 2021

... and container adaptors.

This adds the [[nodiscard]] attribute to functions with no side-effects
for the sequence containers and their iterators, and the debug versions
of those containers, and the container adaptors,

Tested powerpc64le-linux, committed to trunk.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.txt
Type: text/x-patch
Size: 88076 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20210804/87d490a3/attachment-0001.bin>

More information about the Gcc-patches mailing list