Boost logo

Boost :

From: loufoque (mathias.gaunard_at_[hidden])
Date: 2006-07-20 12:14:29


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].


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