mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-12 13:30:51 +00:00
[ADT] Try to appease MSVC by sinking the enable_if from a default
template argument to a default argument to the constructor. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207082 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5c025f2f6e
commit
2c0470e781
@ -109,13 +109,14 @@ protected:
|
||||
|
||||
iterator_adaptor_base() {}
|
||||
|
||||
template <
|
||||
typename U,
|
||||
typename = typename std::enable_if<
|
||||
template <typename U>
|
||||
explicit iterator_adaptor_base(
|
||||
U &&u,
|
||||
typename std::enable_if<
|
||||
!std::is_base_of<typename std::remove_cv<
|
||||
typename std::remove_reference<U>::type>::type,
|
||||
DerivedT>::value>::type>
|
||||
explicit iterator_adaptor_base(U &&u)
|
||||
DerivedT>::value,
|
||||
int>::type = 0)
|
||||
: I(std::forward<U &&>(u)) {}
|
||||
|
||||
public:
|
||||
|
Loading…
Reference in New Issue
Block a user