Revert "Merge to upstream r304942."
This reverts commit83b1388ecd, reversing changes made tof20819f925. Test: treehugger Bug: None
This commit is contained in:
@@ -204,20 +204,4 @@ int main()
|
||||
assert(s == "ABCD");
|
||||
}
|
||||
|
||||
{ // test with a move iterator that returns char&&
|
||||
typedef forward_iterator<const char*> It;
|
||||
typedef std::move_iterator<It> MoveIt;
|
||||
const char p[] = "ABCD";
|
||||
std::string s;
|
||||
s.append(MoveIt(It(std::begin(p))), MoveIt(It(std::end(p) - 1)));
|
||||
assert(s == "ABCD");
|
||||
}
|
||||
{ // test with a move iterator that returns char&&
|
||||
typedef const char* It;
|
||||
typedef std::move_iterator<It> MoveIt;
|
||||
const char p[] = "ABCD";
|
||||
std::string s;
|
||||
s.append(MoveIt(It(std::begin(p))), MoveIt(It(std::end(p) - 1)));
|
||||
assert(s == "ABCD");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user