This is the mail archive of the
libstdc++-cvs@gcc.gnu.org
mailing list for the libstdc++ project.
r241310 - in /trunk/libstdc++-v3: ChangeLog inc...
- From: redi at gcc dot gnu dot org
- To: libstdc++-cvs at gcc dot gnu dot org
- Date: Tue, 18 Oct 2016 18:30:38 -0000
- Subject: r241310 - in /trunk/libstdc++-v3: ChangeLog inc...
Author: redi
Date: Tue Oct 18 18:30:38 2016
New Revision: 241310
URL: https://gcc.gnu.org/viewcvs?rev=241310&root=gcc&view=rev
Log:
Fix typos in experimental::shared_ptr
* 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:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/experimental/bits/shared_ptr.h
trunk/libstdc++-v3/testsuite/experimental/memory/shared_ptr/comparison/comparison.cc