Try to fix MSVC by explicitly providing copy and move constructors so it

doesn't try to use the converting constructor template for those
operations.

llvm-svn: 269406
This commit is contained in:
Chandler Carruth 2016-05-13 10:55:23 +00:00
parent 031da59423
commit 6ec636d21e
1 changed files with 2 additions and 0 deletions

View File

@ -36,6 +36,8 @@ public:
typedef typename BaseT::reference reference;
value_sequence_iterator() = default;
value_sequence_iterator(const value_sequence_iterator &) = default;
value_sequence_iterator(value_sequence_iterator &&) = default;
template <typename U>
value_sequence_iterator(U &&Value) : Value(std::forward<U>(Value)) {}