Commit 161c3bf9 by Jonathan Wakely Committed by Jonathan Wakely

Replace C++14 feature used in C++11 test

	* testsuite/20_util/bind/91371.cc: Fix test to compile as C++11.

From-SVN: r277339
parent 30a761c4
2019-10-23 Jonathan Wakely <jwakely@redhat.com>
* testsuite/20_util/bind/91371.cc: Fix test to compile as C++11.
* include/debug/helper_functions.h (__valid_range): Change
_GLIBCXX_CONSTEXPR to _GLIBCXX14_CONSTEXPR.
......
......@@ -32,6 +32,6 @@ test01()
static_assert(std::is_function<decltype(bar)>::value, "");
static_assert(std::is_function<decltype(baz)>::value, "");
static_assert(std::is_pointer<std::decay_t<decltype(bar)>>::value, "");
static_assert(std::is_pointer<std::decay_t<decltype(baz)>>::value, "");
static_assert(std::is_pointer<std::decay<decltype(bar)>::type>::value, "");
static_assert(std::is_pointer<std::decay<decltype(baz)>::type>::value, "");
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment