[patch] Add 'const' to helper functors for std::promise etc.

Jonathan Wakely jwakely@redhat.com
Wed Dec 10 00:39:00 GMT 2014


Thanks to Geoff Romer for suggesting this change, which might be
needed if we change std::function to only be able to call const
operator() overloads for C++17.

Tested x86_64-linux and powerpc64-linux, committed to trunk.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.txt
Type: text/x-patch
Size: 2579 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20141210/68b68385/attachment.bin>


More information about the Libstdc++ mailing list