Steven Schveighoffer

Results 397 comments of Steven Schveighoffer

Another possibility is to use `myStaticArray` instead of declaring `myDynamicArray`, and just slice it where you need to. Static arrays are pretty close to the same as dynamic arrays except...

Yeah, I have this function in my code now. Not sure if std.datetime can deal with the overflow: ```d @safe DateTime addInterval(DateTime date, dpq2.conv.time.Interval delta) { if(delta.months != 0) {...

Note that std.datetime also has an Interval type making this a bit awkward...

It's not urgent. I just wanted to note it as something that is needed. I can use our internal function. If it gets added, I will switch to using the...

If I find some time, I'll make a PR.

Let me know if this should target something other than the v1.x branch. Not familiar with the workflow in this project.

Note, I still would want the preview to be flipped, just not the resulting image.