Boost logo

Boost :

Subject: Re: [boost] [xint] Fourth release, requesting preliminary review again
From: Chad Nelson (chad.thecomfychair_at_[hidden])
Date: 2010-06-04 09:10:36

Hash: SHA1

On 06/04/2010 07:01 AM, Stewart, Robert wrote:

>>> I can see Marius' point of unifying all the integer classes under
>>> a single templated class xint::integer_t, but I imagine it will
>>> require quite a bit of refactoring.
>> I've redesigned the whole blasted thing three times already. What's
>> once more?
> The good news is that you've learned a great deal in the process!
> This is the curse and benefit of developing for Boost.

Yes, I've learned several powerful techniques that I wasn't previously
aware of. Though I could wish I'd learned them more privately... nothing
like parading your ignorance in public, eh?

On the plus side, it seems that this redesign shouldn't take nearly as
long as the last few. The interface system I came up with for the fourth
release looks like it can be adapted to policy-based stuff with fairly
few changes to most of the code.

On the minus side, it looks like every function will have to be a
template, which is something that I tried very hard to avoid in previous
implementations. It'll be fast, but if a program uses more than one
combination of options, the size will increase greatly. The saving
grace, I suppose, is that there shouldn't be much need to use too many
option combinations.
- --
Chad Nelson
Oak Circle Software, Inc.
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla -


Boost list run by bdawes at, gregod at, cpdaniel at, john at