forked from OSchip/llvm-project
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:
parent
543826dec0
commit
a52d356506
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue