void ezStringBuilder::operator=(const ezStringIterator& rhs)
Even though the signature states, that rhs is const, the state of rhs is still altered, at least for some input.
The following sample reprocudes the issue:
auto builder = ezStringBuilder();
auto iter = ezStringIterator();
builder.Format("%u%u%u", 1, 2, 3); // "123"
iter = builder.GetIteratorFront(); // "123"
++iter; // "23"
builder = iter;
printf("builder: %s\n", builder.GetData());
printf("iter: %s\n", iter.GetData());
Output:
Expected Output:
I have compiled all my code and the ezEngine components using Visual Studio 2013 (Platform Toolset v120) in x64.