Boost logo

Boost Users :

From: François Duranleau (duranlef_at_[hidden])
Date: 2006-04-06 12:30:43


On Wed, 5 Apr 2006, Karim Bakir wrote:

>
> Hi ,
>
> I have a problem, I can' use boost multi array as private member,
> I have the mistake: "unexpected extents"
> I can only return a boost multi array in my function
[...]
> private:
> int d1;
> int d2;
> int d3;
> array_type_3d myvector(boost::extents[d1][d2][d3]);
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
You have to put this initialization in the constructor.

-- 
François Duranleau
LIGUM, Université de Montréal
"You only think you understand. But people cannot perfectly understand
  each other. The self is an ambiguous thing."
                                       - Kaji, in _Neon Genesis Evangelion_

_______________________________________________
Boost-users mailing list
Boost-users_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users


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