|
Boost : |
Subject: Re: [boost] [design] policy based. Was: [XInt] Review
From: Chad Nelson (chad.thecomfychair_at_[hidden])
Date: 2011-03-12 09:51:18
On Fri, 11 Mar 2011 10:51:24 +0100
JCK <jan.kleinsorge.bulk_at_[hidden]> wrote:
>> [...] I think I see what you're getting at. Thank you. I'll have to
>> think about that further to see the best way to implement it.
>
> As a side-note, in that context, providing an implementation
> (sometime in the future) similar to Microsoft's SafeInt [1] would be
> an extremely useful addition to this library. This would be more
> useful than a simple binary fail-state, IMHO.
That would be easy to add, interface-wise. Just a "throw on overflow"
option, for use with fixed-size integers. I'll put it on the to-do
list, but I think it'll be quite a while before I get down to it.
-- Chad Nelson Oak Circle Software, Inc. * * *
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk