This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
> Yup, it's syntactically valid C++, but it is wrong because auto_ptr > will delete the pointer to the array as if it were a pointer to a > single object. You should write auto_ptr_array instead. Is auto_ptr_array a standard template? If so, where is it defined? Martin
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |