gcc/libstdc++-v3/include
Ed Smith-Rowland bb393514d5 re PR libstdc++/59531 (string_view overrun in copy operation)
2014-01-24  Ed Smith-Rowland  <3dw4rd@verizon.net>

	PR libstdc++/59531
	* testsuite/experimental/string_view/operations/copy/char/1.cc: New.
	* testsuite/experimental/string_view/operations/copy/wchar_t/1.cc: New.

2014-01-24  Ed Smith-Rowland  <3dw4rd@verizon.net>
	    Peter A. Bigot <pab@pabigot.com>

	PR libstdc++/59531
	* include/experimental/string_view
	(copy(_CharT*, size_type, size_type) const): Correct throw string.
	Correct copy start location.

2014-01-24  Ed Smith-Rowland  <3dw4rd@verizon.net>
	    Peter A. Bigot <pab@pabigot.com>

	PR libstdc++/59530
	* include/experimental/string_view (operator[](size_type) const):
	Fix one-off index error in debug check.
	* testsuite/experimental/string_view/element_access/char/1.cc: Don't
	test basic_string_view at size().
	* testsuite/experimental/string_view/element_access/wchar_t/1.cc: Ditto.

2014-01-24  Ed Smith-Rowland  <3dw4rd@verizon.net>
	    Peter A. Bigot <pab@pabigot.com>

	PR libstdc++/59529
	* include/experimental/string_view
	(basic_string_view(const _CharT*, size_type)): Don't care if len == 0.
	* testsuite/experimental/string_view/operations/substr/char/1.cc:
	Comment out catch of out_of_range; No terminating null
	in basic_string_view.  Check begin == end.
	* testsuite/experimental/string_view/operations/substr/wchar_t/1.cc:
	Ditto.


Co-Authored-By: Peter A. Bigot <pab@pabigot.com>

From-SVN: r207060
2014-01-24 20:15:00 +00:00
..
backward Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
bits re PR libstdc++/59872 (Cannot move std::map with move-only mapped_type) 2014-01-23 17:17:04 +00:00
c Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
c_compatibility Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
c_global acinclude.m4 (GLIBCXX_CHECK_TMPNAM): New check for tmpnam function. 2014-01-23 21:17:15 +00:00
c_std Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
debug re PR libstdc++/59548 (Abort after copying std::unordered_map in debug mode) 2014-01-24 20:08:20 +00:00
decimal Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
experimental re PR libstdc++/59531 (string_view overrun in copy operation) 2014-01-24 20:15:00 +00:00
ext Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
parallel Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
precompiled Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
profile re PR libstdc++/58764 ([lwg/2193] error: converting to ‘const std::vector<std::basic_string<char> >’ from initializer list would use explicit constructor) 2014-01-22 19:46:44 +00:00
std regex_automaton.tcc (_StateSeq<>::_M_clone()): Do not use std::map. 2014-01-16 23:35:21 +00:00
tr1 Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
tr2 Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
Makefile.am Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
Makefile.in