It's important to put the library name in your subject line if you
want to get its maintainer's attention.
Karim Bakir
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
Thanks
// KOKO.h: interface for the KOKO class. // ////////////////////////////////////////////////////////////////////// #if !defined(AFX_KOKO_H__3E4A2230_0446_43C2_BD69_6FF9C2614C02__INCLUDED_) #define AFX_KOKO_H__3E4A2230_0446_43C2_BD69_6FF9C2614C02__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #include "boost/multi_array.hpp" #include <cassert>
using namespace std; using namespace boost; class KOKO { typedef boost::multi_array
array_type_3dd; public: KOKO(); virtual ~KOKO(); boost::multi_array
MiseEnFormeMatrice3D(vector<double>data,int nbJourSimule, int na, int nbEnergie); private: int d1; int d2; int d3; array_type_3d myvector(boost::extents[d1][d2][d3]);
}; #endif // !defined(AFX_KOKO_H__3E4A2230_0446_43C2_BD69_6FF9C2614C02__INCLUDED_)
--------------------------------- Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international.Téléchargez la version beta._______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Karim Bakir
Hi
I want to know if it exists in boost multi array a method to empty it.
thanks.
--------------------------------- Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international.Téléchargez la version beta._______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- Dave Abrahams Boost Consulting www.boost-consulting.com