pingus-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: More (Windows) Errors


From: David Philippi
Subject: Re: More (Windows) Errors
Date: Sat, 19 Oct 2002 17:31:43 +0200
User-agent: KMail/1.4.1

On Saturday 19 October 2002 17:10, Ingo Ruhnke wrote:
> As far as I know that would also be incorrect, since vec.end() is the
> resize()'ed end, and another try:
> | vec.reserve(vec.size + p.vec.size());
> | std::copy(p.vec.rbegin(), p.vec.rend(), std::back_inserter(vec));

Using back_inserter is an option too, but .end() is EVER the node one past 
the last node. The only value that may visibly change due to an enlarging 
call to resize() is capacity().

Bye David





reply via email to

[Prev in Thread] Current Thread [Next in Thread]