Skip to content

Commit

Permalink
Make string_iterator::operator-> internally testaable
Browse files Browse the repository at this point in the history
  • Loading branch information
miscco committed Mar 31, 2021
1 parent a3bfd83 commit 011f18e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/std/tests/P0980R1_constexpr_strings/test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1526,7 +1526,7 @@ _CONSTEXPR20_CONTAINER bool test_iterators() {
cit = cit2;
}

#if 0 // TRANSITION, understand the bug
#if defined(MSVC_INTERNAL_TESTING) || defined(__EDG__) // TRANSITION, VSO-1270433
{ // op->
basic_string<CharLikeType<CharType>> bs{CharType{'x'}};
auto it = bs.begin();
Expand All @@ -1537,7 +1537,7 @@ _CONSTEXPR20_CONTAINER bool test_iterators() {
auto cc = cit->c;
assert(cc == CharType{'x'});
}
#endif
#endif // defined(MSVC_INTERNAL_TESTING) || defined(__EDG__)

{ // increment
auto it = literal_constructed.begin();
Expand Down

0 comments on commit 011f18e

Please sign in to comment.