[challenge] Bounded types
Yao G.
yao.gomez at spam.gmail.com
Sun Oct 10 18:55:15 PDT 2010
On Sun, 10 Oct 2010 16:16:05 -0500, Philippe Sigaud
<philippe.sigaud at gmail.com> 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.
More information about the Digitalmars-d
mailing list