gcc/libstdc++-v3
Ville Voutilainen 8dff34fe8e re PR libstdc++/60271 ([DR2369] [C++1y] std::max(initializer_list<T>) cannot use std::max_element)
2014-12-22  Ville Voutilainen  <ville.voutilainen@gmail.com>

	PR libstdc++/60271
	C++14 constexpr min, max, minmax, min_element, max_element
	and minmax_element. Also constexpr for 20.9.5-20.9.9,
	aka various library functors.
	* include/bits/c++config: Add _GLIBCXX14_CONSTEXPR.
	* include/bits/algorithmfwd.h (min, max, minmax, min_element,
	max_element): Use it.
	* include/bits/predefined_ops.h (_Iter_less_iter, __iter_less_iter,
	_Iter_comp_iter, __iter_comp_iter): Likewise.
	* include/bits/stl_algo.h (minmax, __minmax_element, minmax_element,
	min, max, __min_element, min_element, __max_element, max_element)
	Likewise.
	* include/bits/stl_algobase.h (min, max): Likewise.
	* include/bits/stl_function.h (plus, minus, multiplies, divides,
	modulus, negate, equal_to, not_equal_to, greater, less, greater_equal,
	less_equal, logical_and, logical_or, logical_not, bit_and, bit_or,
	bit_xor, bit_not, unary_negate, not1, binary_negate, not2): Likewise.
	* testsuite/20_util/function_objects/constexpr.cc: New.
	* testsuite/25_algorithms/max/constexpr.cc: Likewise.
	* testsuite/25_algorithms/max_element/constexpr.cc: Likewise.
	* testsuite/25_algorithms/min/constexpr.cc: Likewise.
	* testsuite/25_algorithms/min_element/constexpr.cc: Likewise.
	* testsuite/25_algorithms/minmax/constexpr.cc: Likewise.
	* testsuite/25_algorithms/minmax_element/constexpr.cc: Likewise.
	* testsuite/ext/profile/mutex_extensions_neg.cc: Adjust dg-error.

From-SVN: r219015
2014-12-22 16:00:16 +00:00
..
config re PR libstdc++/60396 (Missing time_get<>::get() functions) 2014-12-22 13:45:44 +00:00
doc status_cxx2011.xml: Update. 2014-12-22 14:49:09 +00:00
include re PR libstdc++/60271 ([DR2369] [C++1y] std::max(initializer_list<T>) cannot use std::max_element) 2014-12-22 16:00:16 +00:00
libsupc++ New std::string implementation. 2014-12-19 18:16:39 +00:00
po New std::string implementation. 2014-12-19 18:16:39 +00:00
python New std::string implementation. 2014-12-19 18:16:39 +00:00
scripts bool_set: Use UTF-8 for accented characters. 2014-05-29 15:04:43 +01:00
src re PR libstdc++/60396 (Missing time_get<>::get() functions) 2014-12-22 13:45:44 +00:00
testsuite re PR libstdc++/60271 ([DR2369] [C++1y] std::max(initializer_list<T>) cannot use std::max_element) 2014-12-22 16:00:16 +00:00
acinclude.m4 New std::string implementation. 2014-12-19 18:16:39 +00:00
aclocal.m4
ChangeLog re PR libstdc++/60271 ([DR2369] [C++1y] std::max(initializer_list<T>) cannot use std::max_element) 2014-12-22 16:00:16 +00:00
ChangeLog-1998
ChangeLog-1999
ChangeLog-2000
ChangeLog-2001
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013 * ChangeLog-2013: Correct an old entry. 2014-05-26 23:49:19 +02:00
config.h.in acinclude.m4 (GLIBCXX_CHECK_TMPNAM): New check for tmpnam function. 2014-01-23 21:17:15 +00:00
configure New std::string implementation. 2014-12-19 18:16:39 +00:00
configure.ac New std::string implementation. 2014-12-19 18:16:39 +00:00
configure.host configure.host (aix5+): New stanza. 2014-10-30 10:20:50 -04:00
crossconfig.m4 Remove obsolete Solaris 9 support 2014-04-22 12:30:59 +00:00
fragment.am
linkage.m4
Makefile.am Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
Makefile.in New std::string implementation. 2014-12-19 18:16:39 +00:00
README

file: libstdc++-v3/README

New users may wish to point their web browsers to the file
index.html in the 'doc/html' subdirectory.  It contains brief
building instructions and notes on how to configure the library in
interesting ways.