Boost logo

Boost :

Subject: Re: [boost] [GSOC] Regarding the project Boost.DeVector
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2009-03-23 09:28:29


Hi Satyam,

Satyam Shekhar skrev:
> Hi,

> 2. What are the examples of the low-level operations for which this
> container is over-encapsulated?

One thing is the iterators. As the paper by Austern explains

   for( segment : c.segments() )
      for( unsigned n = 0u; n < segment.size; ++ n )
          foo( segment[n] )

is faster than using iterators.

Another is related to serialization, see e.g.

http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2212.html

-Thorsten


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk