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
It is fairly common to want to check whether a position appears before or after another and it would be nice to have them be easily comparable(like this) instead of having to check the line and character separately.
ajaybhargavb
changed the title
Consider making Position IComparable and adding more operator overloads
Consider making Position(And possibly Range?) IComparable and adding more operator overloads
Oct 1, 2020
It is fairly common to want to check whether a position appears before or after another and it would be nice to have them be easily comparable(like this) instead of having to check the line and character separately.
Here is an example of where this might be useful.
The text was updated successfully, but these errors were encountered: