From: Darren Garvey (lists.drrngrvy_at_[hidden])
Date: 2007-08-21 13:56:09


On 21/08/07, Panayiotis <panayk_at_[hidden]> wrote:
>
> --- snip ---
> The problem is that:
> a) I don't know the size at compile time.
> b) Once initialized, the array's size stays constant, so vector would be
> overkill.

There's probably a better way to do this that I don't know about, but one
fall-back could be boost::any (http://boost.org/libs/any).

hth,
Darren