r243364 - in /branches/gcc-6-branch/libstdc++-v...
redi@gcc.gnu.org
redi@gcc.gnu.org
Wed Dec 7 15:57:00 GMT 2016
Author: redi
Date: Wed Dec 7 15:56:14 2016
New Revision: 243364
URL: https://gcc.gnu.org/viewcvs?rev=243364&root=gcc&view=rev
Log:
Fix typos in experimental::shared_ptr
Backport from mainline
2016-10-18 Jonathan Wakely <jwakely@redhat.com>
* 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.
Modified:
branches/gcc-6-branch/libstdc++-v3/ChangeLog
branches/gcc-6-branch/libstdc++-v3/include/experimental/bits/shared_ptr.h
branches/gcc-6-branch/libstdc++-v3/testsuite/experimental/memory/shared_ptr/comparison/comparison.cc
More information about the Libstdc++-cvs
mailing list