Boost logo

Boost :

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


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

On 06/10/2010 01:00 PM, Steven Watanabe wrote:

>>> as an example, std::copy does not need to know the size of the output
>>> sequence nor need to know how to grow it (one can for example use
>>> back_inserter for automatic growth). Couldn't xint use a similar
>>> strategy?
>>
>> std::copy doesn't need to know how to grow the output sequence, but it
>> *does* need to be passed the back_inserter, which needs to know how to
>> grow it.
>
> You don't have to use back_inserter with std::copy.
> Copying into a pre-existing buffer also works.

We were discussing why he thought the XInt algorithms didn't need to
know how to grow their buffers in order to change the sizes of them.
- --
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/

iEYEARECAAYFAkwRHUYACgkQp9x9jeZ9/wQsqACfXnvKE5klRKqVBtYm9BJY6HlG
eRMAoN4H8kUGOkAuU9Ew8yFBlax27R+n
=HIOg
-----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