
20 Jul
2006
20 Jul
'06
4:14 p.m.
John Maddock wrote :
Scoped_array: Useful for temporary buffers whose size is determined at runtime. Doesn't have a container interface though, and probably mostly used for interfacing with legacy C API's.
Why not use std::vector here ? You get the interfacing with C using &v[0].