On Sunday, 1 July 2012 at 13:22:17 UTC, monarch_dodra wrote:
Something like...
"inverseRangeBegin(R big, R small)": Creates a range that begins where big starts, and ends where small starts. R must be at least bidirectional. small must be included inside big.

From an implementation point of view, I think any container, and even arrays, can do it. I pretty sure this is compeltly feasable. Just off the top of my head. I'm sure there are brighter thinkers out there that have put more thought into it.

Or not. On second thought, while I'm sure there might be an implementable solution, I doubt it could be done with any real safety guarantees.

Reply via email to