Boost logo

Boost :

Subject: Re: [boost] [rfc] sized_array
From: Tim Blechmann (tim_at_[hidden])
Date: 2010-02-09 03:47:30


>> [...] in contrary to std::vector, which is only required to
>> support random-access iterators (which are implementation-defined), my
>> class guaranties to allocate the data in one consecutive memory area. [...]
>>
>
> As of C++03, std::vector is contiguous, so I'm not convinced by the
> utility of this.

interesting ... it seems, my assumption was based on c++98 ... i guess,
my class is pretty useless then :)

thanks for clearing this up!

tim

-- 
tim_at_[hidden]
http://tim.klingt.org
It is better to make a piece of music than to perform one, better to
perform one than to listen to one, better to listen to one than to
misuse it as a means of distraction, entertainment, or acquisition of
'culture'.
  John Cage



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