r241310 - in /trunk/libstdc++-v3: ChangeLog inc...

redi@gcc.gnu.org redi@gcc.gnu.org
Tue Oct 18 18:30:00 GMT 2016


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



More information about the Libstdc++-cvs mailing list