add configurable openness flag for begin/end on Range<> type