On Sat, 09 Oct 2010 23:23:37 -0500, Andrei Alexandrescu
<[email protected]> wrote:
On 10/9/10 20:40 CDT, Denis wrote:
I believe in D one should be able to write a RangedInt(int lowerBound,
int upperBound) type
More precisely: BoundedInt(long lowerBound, ulong upperBound) so it can
express any range of any number.
Andrei
This is an example, ported from the Boost date time library:
http://bitbucket.org/gomez/yao-library/src/tip/src/yao/datetime/core.d#cl-551
--
Yao G.
_______________________________________________
phobos mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/phobos