4 ms·Oooph, I'm no expert but that is not "good" C++ style. Definitely prefer using the iterator methods.by tbrock 9y agoOooph, I'm no expert but that is not "good" C++ style. Definitely prefer using the iterator methods.0xBA5ED 9y agoIf it effectively solves your particular problems in your specific situation, then it IS good style ;)tbrock 9y agoThis depends on knowing the intervals of that type and expecting them to not change. Just trying to help. This code is entirely implementation specific.