Boost logo

Ublas :

From: Gunter Winkler (guwi17_at_[hidden])
Date: 2008-03-28 15:57:19

Am Donnerstag, 27. März 2008 14:28 schrieb Francisco Javier González:
> Hello everyone!
> Is the data layout in memory in an unbounded array guaranteed to be
> contiguous, like in an std::vector? I would like to use a pointer to
> access data in the following way:
> real* data_pointer = &(my_u_array[0]);

Yes. unbounded_array is essentially the same as a plain c-array.