Boost logo

Boost Users :

Subject: Re: [Boost-users] multi_array_ref (lack of) default constructor
From: Robert Jones (robertgbjones_at_[hidden])
Date: 2009-05-29 13:42:18


On Fri, May 29, 2009 at 1:12 PM, gtsml owevwr
<gtsml.owevwr_at_[hidden]>wrote:

> Hi,
>
> Does anybody know why multi_array_ref doesn't have a default constructor?
>
> I'm asking because I wanted to make a multi_array of multi_array_ref
> and that doesn't seem to be possible because multi_array expect the
> element type to be default constructible.
>
>
I don't know, but if it did what would you have it do? Surely it lacks
one for the same reason that references must be initialised?

- Rob.



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