Boost logo

Boost Users :

From: Sohail Somani (s.somani_at_[hidden])
Date: 2006-05-05 19:54:57


> -----Original Message-----
> From: boost-users-bounces_at_[hidden]
> [mailto:boost-users-bounces_at_[hidden]] On Behalf Of
> Bruno Martínez
> Sent: Friday, May 05, 2006 4:52 PM
> To: boost-users_at_[hidden]
> Subject: Re: [Boost-users] [multi-array] [C++ ] multi array dimensions
>
> On Tue, 02 May 2006 16:04:04 -0300, Karim Bakir
> <rimbak_at_[hidden]> wrote:
>
> > Ok so , And is it possible to retrieve the size of the dimension?
>
> Yes. That's the shape() member function.

I've been thinking, it would be nice if shape() returned a const boost::array & whose indexing has nice asserts at debug time :)

Anyone else feels the same?


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