gcc/libstdc++-v3/include
François Dumont adad2a7d90 2015-05-29 François Dumont fdumont@gcc.gnu.org>
* include/debug/debug.h (_GLIBCXX_DEBUG_ASSERT,
	_GLIBCXX_DEBUG_PEDASSERT, _GLIBCXX_DEBUG_ONLY): Move definition...
	* include/debug/assertions.h: ...here, new.
	* include/debug/formatter.h
	(_Error_formatter::_Is_iterator_value_type): New.
	(_Error_formatter::_Is_instance): New.
	(_Error_formatter::_Parameter): Make public and not friend anymore.
	(_Error_formatter::_Parameter::__instance): New _M_kind enum entry.
	(_Error_formatter::_Parameter::__iterator_value_type): New _M_kind enum
	entry.
	(_Error_formatter::_Parameter::_Type): New.
	(_Error_formatter::_Parameter::_Instance): New, inherit from
	latter.
	(union _Error_formatter::_Parameter::_M_variant): Reorganize.
	(_Parameter(_Iterator const&, const char*, _Is_iterator)): Make all
	overloads take iterator through a const reference.
	(_Parameter(const _Iterator&, const char*, _Is_iterator_value_type)):
	New.
	(_Parameter(const _Type&, const char*, _Is_instance)): New.
	(_Error_formatter::_M_print_type): Delete.
	(_Error_formatter::_M_iterator_value_type): New.
	(_Error_formatter::_M_instance): New.
	* include/Makefile.am: Add new above debug file.
	* include/Makefile.in: Regenerate.
	* include/debug/functions.h
	(__check_dereferenceable(const _Safe_iterator<>&),
	__valid_range(const _Safe_iterator<>&),
	__is_safe_random_iterator<_Safe_iterator<>>): Move...
	* include/debug/safe_iterator.h: ... here.
	Replace debug.h include with assertions.h.
	(__check_singular_aux): Move...
	* include/debug/safe_base.h: ... here.
	* include/debug/functions.h
	(__check_dereferenceable(const _Safe_local_iterator<>&),
	__valid_range(const _Safe_local_iterator<>&): Move...
	* include/debug/safe_local_iterator.h: ...here.
	* include/debug/safe_sequence.h: Replace debug.h with assertions.h.
	Remove _Safe_iterator declaration.
	* include/debug/safe_unordered_container.h: Replace debug.h with
	assertions.h.
	* include/debug/array: Replace safe_sequence.h include with
	formatter.h and macros.h.
	* include/debug/deque: Include functions.tcc.
	* include/debug/forward_list: Likewise.
	* include/debug/list: Likewise.
	* include/debug/string: Likewise.
	* include/debug/vector: Likewise.
	* include/bits/unique_ptr.h: Replace debug.h include with new
	assertions.h.
	* include/bits/stl_iterator_base_funcs.h: Likewise.
	* testsuite/23_containers/array/tuple_interface/get_debug_neg.cc:
	Adjust dg-error line number.
	* testsuite/23_containers/array/tuple_interface/
	tuple_element_debug_neg.cc: Likewise.
	* src/c++11/debug.cc: Adapt.

From-SVN: r223877
2015-05-29 21:29:07 +00:00
..
backward Update copyright years. 2015-01-05 13:33:28 +01:00
bits 2015-05-29 François Dumont fdumont@gcc.gnu.org> 2015-05-29 21:29:07 +00:00
c Update copyright years. 2015-01-05 13:33:28 +01:00
c_compatibility Update copyright years. 2015-01-05 13:33:28 +01:00
c_global re PR libstdc++/64883 (FAIL: 17_intro/headers/c++*/all_attributes.cc (test for excess errors) on x86_64-apple-darwin10) 2015-02-01 15:11:08 +00:00
c_std re PR libstdc++/64883 (FAIL: 17_intro/headers/c++*/all_attributes.cc (test for excess errors) on x86_64-apple-darwin10) 2015-02-01 15:11:08 +00:00
debug 2015-05-29 François Dumont fdumont@gcc.gnu.org> 2015-05-29 21:29:07 +00:00
decimal Update copyright years. 2015-01-05 13:33:28 +01:00
experimental tuple (apply): Handle pointers to member (LWG 2418). 2015-05-13 14:12:48 +01:00
ext re PR libstdc++/66017 (Undefined behaviour in std::set<long long>) 2015-05-27 12:18:37 +01:00
parallel Update copyright years. 2015-01-05 13:33:28 +01:00
precompiled Update copyright years. 2015-01-05 13:33:28 +01:00
profile re PR libstdc++/65352 (array<T,0>::begin()/end() etc. forms a null reference and breaks on clang+ubsan) 2015-05-28 17:00:09 +01:00
std future (__async_result_of): New alias template. 2015-05-29 14:44:52 +01:00
tr1 Update copyright years. 2015-01-05 13:33:28 +01:00
tr2 Update copyright years. 2015-01-05 13:33:28 +01:00
Makefile.am 2015-05-29 François Dumont fdumont@gcc.gnu.org> 2015-05-29 21:29:07 +00:00
Makefile.in 2015-05-29 François Dumont fdumont@gcc.gnu.org> 2015-05-29 21:29:07 +00:00