
9 Mar
2006
9 Mar
'06
10:22 a.m.
On 3/9/06, Ralf W. Grosse-Kunstleve <rwgk@yahoo.com> 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