[PATCH] Fix typos in experimental::shared_ptr

Jonathan Wakely jwakely@redhat.com
Tue Oct 18 18:41:00 GMT 2016


On 18/10/16 19:30 +0100, Jonathan Wakely wrote:
>A couple of minor things I found whlie reviewing this code.
>
>	* include/experimental/bits/shared_ptr.h (shared_ptr(shared_ptr&&)):
>	Remove const from parameter.
>	(operator<(const shared_ptr<T>&, nullptr_t)): Use correct
>	specialization of std::less.
>	* testsuite/experimental/memory/shared_ptr/comparison/comparison.cc:
>	Test comparison with nullptr and actually call test functions.
>
>Tested x86_64-linux, comitted to trunk.

I'm also committing this, which only changes whitespace.


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


More information about the Libstdc++ mailing list