Boost logo

Boost :

Subject: Re: [boost] [xint] Design Improvements (was Boost.Move vs Copy-on-Write timings)
From: Chad Nelson (chad.thecomfychair_at_[hidden])
Date: 2010-05-04 20:21:16


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 05/04/2010 02:28 PM, Jeffrey Lee Hellrung, Jr. wrote:

[...]
>> That way the user does not need to allocate his memory with dynamic
>> memory allocation -- or even with your type -- to run your arbitrary
>> precision algorithms.
>
> +1, and going the natural step further, build these algorithms off a
> view *concept*, rather then hard-coding a specific view class, for
> maximum flexibility. The requirements you need *might* be as simple as
> existing range requirements in many cases (see Boost.Range).

I'm afraid they'll be slightly more complex, as the view will need to
know the sign of the integer as well (and be able to alter it, for
mutable arguments). So I'll probably need to hard-code at least one view
class anyway. We'll see when I get to it, which I hope will be tonight.
- --
Chad Nelson
Oak Circle Software, Inc.
*
*
*
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkvgufwACgkQp9x9jeZ9/wRx2QCeNi6zfWRFmfIhuV3CFTVjNa1D
JlsAoPRKs3raRP54ZihNogVqkukZ0p3O
=+k/l
-----END PGP SIGNATURE-----


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk