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 19:30:29


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

On 05/04/2010 02:01 PM, Mathias Gaunard wrote:

>> I'm not sure I understand what you're suggesting. If views are the same
>> as my integers, then they're essentially the same as base_integer as
>> well, so that's what I'm already doing. Or am I missing something?
>
> They do not own anything, they're simply thin wrappers on top of the
> pointer, and you can construct them from the pointer and whatever
> information you need as well.
>
> 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.

I see. Close to what I have, but not exactly. Pretty much the same as
what Jeffrey Hellrung was suggesting, then. I'd planned on something
like that... with any luck, I can get some of that done tonight, I won't
have much time to work on the library tomorrow.
- --
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/

iEYEARECAAYFAkvgrhIACgkQp9x9jeZ9/wRP9ACePAOjw1Ruo78aT0jeOye5Ongf
97cAn3afAdgwKIjHoxzDFVAOrfFv3PGB
=MY4L
-----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