gnash-commit
[Top][All Lists]
Advanced

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

Re: [Gnash-commit] gnash ChangeLog backend/render_handler_tri.cpp ...


From: Chad Musick
Subject: Re: [Gnash-commit] gnash ChangeLog backend/render_handler_tri.cpp ...
Date: Sat, 22 Sep 2007 12:46:00 +0900

The standard isn't yet that the memory is to be contiguous, though this
is expected for the 2008 standard. However, the member function data()
will provide a pointer to contiguous memory sufficient to hold size()
elements.

Chad

> 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++ standard
> specification, 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
> 
> 
> _______________________________________________
> Gnash-commit mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/gnash-commit





reply via email to

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