mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-28 06:00:28 +00:00
Another attempt to fix MSVC by explicitly disabling the conversion
operator when the value type can't be initialized from the argument type. Testing with the online MSVC compiler is finally happy with this, let's see if the build bot will tolerate it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@269501 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
11a29c9055
commit
36666742ca
@ -40,7 +40,7 @@ public:
|
||||
value_sequence_iterator(value_sequence_iterator &&Arg)
|
||||
: Value(std::move(Arg.Value)) {}
|
||||
|
||||
template <typename U>
|
||||
template <typename U, typename Enabler = decltype(ValueT(std::declval<U>()))>
|
||||
value_sequence_iterator(U &&Value) : Value(std::forward<U>(Value)) {}
|
||||
|
||||
value_sequence_iterator &operator+=(difference_type N) {
|
||||
|
Loading…
Reference in New Issue
Block a user