|
Boost : |
Subject: Re: [boost] [xint] Third release is ready, requesting preliminary review
From: Chad Nelson (chad.thecomfychair_at_[hidden])
Date: 2010-05-01 11:43:20
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 05/01/2010 11:27 AM, vicente.botet wrote:
>>> [...] or offer both safe and unsafe classes.
>>
>> Certainly possible, though it would complicate the library.
>
> Couldn't you add a template parameter stating the thread model? This
> parameter can be by default single_threaded, and the user can set it
> also to multi_threaded. In this way you let the user of each
> xint::integer to decide if the library must ensure thread safety or
> not.
That would solve the speed problem, but the dependency problem would
remain -- the library would have to use Boost.Move and Boost.Thread
always. (See the previous message in this thread for my reasons why that
isn't desirable.)
- --
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/
iEYEARECAAYFAkvcTBgACgkQp9x9jeZ9/wTMugCg0tAno3g8UQdiU9ZisiNgA84U
mEYAnRqVLV6HX9DTIBac67xx7xOO75aE
=dY0N
-----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