prefer prefix ++/-- operators for non-primitive types

pull/2634/head
escherstair 2019-09-03 08:01:05 +02:00 committed by GitHub
parent ceacad237f
commit bbb1f6a1dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -215,7 +215,7 @@ TEST(IteratorTest, ParamIteratorConformsToForwardIteratorConcept) {
// Verifies that prefix and postfix operator++() advance an iterator
// all the same.
it2 = it;
it++;
++it;
++it2;
EXPECT_TRUE(*it == *it2);
}