Re: Always avoid "new"

From: Andrew Koenig (
Date: 05/02/04

Date: Sun, 02 May 2004 14:38:57 GMT

"jeffc" <> wrote in message

> > Use a vector.

> But of course, if *you* were the one having to implement the vector, you'd
> have to use new.

Not really; I'd use std::allocator instead, because it gives me
finer-grained control over construction and destruction than new does.