jpf91/cairoD — pull request #10 by AndrejMitrovic (2011-10-20 21:01:04+00:00)
Title: ClipRange implementation

Fixes Issue #9.

The implementation is derived from std.collection's Array template.

I did however ran into an odd bug: using this range in CairoD via lockstep() creates an access violation. I'm not sure why, I've tested the same range implementation separately on primitive types and it works fine.

Here's an example on primitives: https://gist.github.com/1302365

If you've got the time to inspect, go right ahead.