* testsuite/20_util/bind/91371.cc: Fix test to compile as C++11.
From-SVN: r277339
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.
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, "");
}