Boost logo

Boost :

From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2004-03-14 05:02:32


Hi Jan,

> >
> > I guess a deque cannot guarantee sequential data. Or
> > could it with a special
> > allocator?
> I don't understand this question.

I mean a vector and a circular_buffer can pass a pointer to their data to
C-style functions.
A deque cannot because it's data is not guaranteed to be sequential. The
question is if
a deque could provide this guarantee somehow using eg. a special allocator.

br

Thorsten


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