The matter is very well understood. My point here is that leaving it to the user to make sure which ranges are still valid vs. not is not appropriate for D's container. -- Andrei
Have you considered checking it at compile time? This is obviously the RCArray problem in disguise, and the same possible solutions apply here, too.
