[committed] libstdc++: Move attributes that follow requires-clauses [PR101782]
Jonathan Wakely
jwakely@redhat.com
Thu Aug 5 14:19:03 GMT 2021
On 04/08/21 12:55 +0100, Jonathan Wakely wrote:
>This adds [[nodiscard]] throughout <iterator>, as proposed by P2377R0
>(with some minor corrections).
>
>The attribute is added for all modes from C++11 up, using
>[[__nodiscard__]] or _GLIBCXX_NODISCARD where C++17 [[nodiscard]] can't
>be used directly.
This change causes errors when -fconcepts-ts is used. Fixed like so.
Tested powerpc64le-linux, committed to trunk.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.txt
Type: text/x-patch
Size: 12719 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/libstdc++/attachments/20210805/52ceb713/attachment.bin>
More information about the Libstdc++
mailing list