$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [Interprocess] Problem with reserve for vector of weak_ptr
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2010-05-28 12:08:18
On 28/05/2010 17:45, Gaetan Gaumer wrote:
> Resize can trim the vector and I don't want it.
> I think "reserve" is the right function for my need.
But in your example vector has size 0. You are assigning values out of
bounds, or am I missing something?
Best,
Ion