Boost logo

Boost :

From: Daniel James (daniel_james_at_[hidden])
Date: 2006-03-09 05:22:07


On 3/9/06, Ralf W. Grosse-Kunstleve <rwgk_at_[hidden]> wrote:
>
> Policing arguments ("you shouldn't to this") are OK only if there is an
> alternative. As I wrote before, there is no auto_array, therefore the FAQ is
> just frustrating.
>

If you want to use auto_array, you can. Either take an open source
auto_ptr implementation and adapt it, or google for an existing
implementation.

A better solution might be to use Jonathan Turkanis' move_ptr library
- which works for arrays.

http://www.kangaroologic.com/move_ptr/

Daniel


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