[boost] Query regarding time complexity requirements of iterators in custom container