Boost logo

Boost :

Subject: Re: [boost] [utility] new auto_buffer class --- RFC
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2009-03-02 11:57:35


Amit skrev:
> Hi,
>
> I think this would be very useful, in almost all applications.
>
> I had a quick look at the code. Just one comment: there appears to be no reason
> for the copy[_rai]() functions to me non-static members - it will just create
> code bloat when auto_buffer<>s are created with different N.
>
> Am I missing something, or would it make sense into a private namespace?

I guess this could be a general algorithm added to range_ex. I don't
think this will generate bloat unless you explicitly instantate the class.

-Thorsten


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