You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure about u1.segments().back() = u1.segments().back();. Does this work?
No, because back() just returns a string. Assignment can't work for elements, since iterators don't return modifiable references to the underlying element.
Consider the following:
What should the contents of ps1 be? Well,
operator=
is documented with this effect:Iterating ps2 will produce decoded segments, so ps1 will end up with
Note how "file.txt" has the escape removed. This behavior is technically correct according to our specification but is this the right thing to do?
The text was updated successfully, but these errors were encountered: