On Sun, 10 Oct 2010 16:16:05 -0500, Philippe Sigaud <[email protected]> wrote:

I don't have a bounded type, but a wrapping integer, ported from Boost:

http://bitbucket.org/gomez/yao-library/src/tip/src/yao/datetime/core.d#cl-551

I posted this on the Phobos list, but it seems that everybody is ignoring my messages on that list.

I use it in my port of Boost date time library, to convert the overflow from hours, to days. It's a simple, brain dead example, but maybe it can be used as basis or inspiration for something more complex.

--
Yao G.

Reply via email to