Boost logo

Boost Users :

Subject: Re: [Boost-users] boost::array < pair<>... > iterator adaptor
From: Scott McMurray (me22.ca+boost_at_[hidden])
Date: 2009-04-02 11:40:41


On Thu, Apr 2, 2009 at 11:30, Hicham Mouline <hicham_at_[hidden]> wrote:
>
> Now, under normal assumptions, accessing first elements through feit should
> be as fast
> as direct access by manual loop.... inline calls should be optimized away?
>

Yes.

Though it looks like transform_iterator doesn't yet EBO the functor,
so you'll pay a bit of a space penalty, but in most cases it should be
inconsequential.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net