Speculatively fixing the build; it seems add_pointer_t and add_const_t are not implemented everywhere.

llvm-svn: 348731
This commit is contained in:
Aaron Ballman 2018-12-09 20:04:54 +00:00
parent 543826dec0
commit a52d356506
1 changed files with 2 additions and 1 deletions

View File

@ -72,7 +72,8 @@ struct conjunction<B1, Bn...>
: std::conditional<bool(B1::value), conjunction<Bn...>, B1>::type {};
template <typename T> struct make_const_ptr {
using type = std::add_pointer_t<std::add_const_t<T>>;
using type =
typename std::add_pointer<typename std::add_const<T>::type>::type;
};
//===----------------------------------------------------------------------===//
// Extra additions to <functional>