|
From: | Bastiaan Jacques |
Subject: | Re: [Gnash-commit] gnash ChangeLog backend/render_handler_tri.cpp ... |
Date: | Sat, 22 Sep 2007 00:43:10 +0200 (CEST) |
On Sat, 22 Sep 2007, strk wrote:
On Fri, Sep 21, 2007 at 08:18:41PM +0000, Bastiaan Jacques wrote:* backend/render_handler_tri.{cpp,h}: Don't assume the elements in a std::vector are stored in contiguous memory.I belive elements of a std::vector are assured to be stored in contiguous memory by specs.
It is my understanding that it is not currently part of the C++ standardspecification, although an effort is underway to include it. So there is no guarantee that that is true, although I'm fairly sure libstdc++ does implement it in contiguous memory.
Bastiaan
[Prev in Thread] | Current Thread | [Next in Thread] |