On 04/08/21 13:00 +0100, Jonathan Wakely wrote: >On 04/08/21 12:56 +0100, Jonathan Wakely wrote: >>... 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, > >I don't plan to add any more [[nodiscard]] attributes for now, but >these two commits should demonstrate how to do it for anybody who >wants to contribute similar patches. OK, one more change in this vein, adding [[nodiscard]] to . Tested powerpc64le-linux, committed to trunk.