gcc/libstdc++-v3/testsuite/25_algorithms/copy/debug
Jonathan Wakely 3cb0c7cc16 libstdc++: Fix function that can't be constexpr in C++11 (PR 95289)
The body of this function isn't just a return statement, so it can't be
constexpr until C++14.

	PR libstdc++/95289
	* include/debug/helper_functions.h (__get_distance): Only declare
	as a constexpr function for C++14 and up.
	* testsuite/25_algorithms/copy/debug/95289.cc: New test.
2020-05-23 18:27:35 +01:00
..
1_neg.cc Update copyright years. 2020-01-01 12:51:42 +01:00
2_neg.cc Update copyright years. 2020-01-01 12:51:42 +01:00
95289.cc libstdc++: Fix function that can't be constexpr in C++11 (PR 95289) 2020-05-23 18:27:35 +01:00