Boost logo

Boost :

Subject: Re: [boost] Stack-based vector container
From: Domagoj Saric (dsaritz_at_[hidden])
Date: 2011-01-25 18:19:07

"Christopher Jefferson" <chris_at_[hidden]> wrote in message
> I find most modern compilers do not have issues with calling end()
> repeatedly, or push_back().

push_back() is a possibly-new-calling/possibly-throwing 'fat function', in
which way do you mean that modern compilers 'do not have issues' with it?
And could you please name such a compiler...

> Also it is unclear if operator[] or iterators are more efficient.

You know of a (real) use case where indexed based access is faster than
pointer based?

"What Huxley teaches is that in the age of advanced technology, spiritual
devastation is more likely to come from an enemy with a smiling face than
from one whose countenance exudes suspicion and hate."
Neil Postman 

Boost list run by bdawes at, gregod at, cpdaniel at, john at