This is the mail archive of the libstdc++-cvs@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]