|
Boost Users : |
From: Klett, Stefan (stefan.klett_at_[hidden])
Date: 2008-03-05 09:40:58
Hi List Members,
While still trying putting boost::multi_array to work I ran into the
next obstacle - my current code is fairly like in the multi_array "short
example"
That is :
#include "boost/multi_array.hpp"
class NwLayer
{
typedef boost::multi_array<double,3> neural_op;
typedef neural_op::index index ;
neural_op NeuralOperator(boost::extents[10][10][10]);
}
unfortunately I still get the compile time error
In file included from ../NwLayer.cpp:1:
../NwLayer.h:12: Fehler: >boost::extents< is not a type
on the last line of the above code snippet
Is there anyone around who could explain to me what I can do to get rid
of the error message ?
Many thanks in advance
Best regards
Stefan
--------------------------------------------------------
Stefan Klett (Dipl. Informatiker) | E-mail: stefan.klett_at_[hidden]
Forschungszentrum Karlsruhe / KIT | Web: http://www.fzk.de
SCC Steinbuch Centre for Computing| Phone: +49 (0)7247 828649
Hermann-von-Helmholtz-Platz 1 | Fax: +49 (0)7247 824972
D-76344 Eggenstein-Leopoldshafen | Mobile: +49 (0)176 20317250
-------------------------------------------------------------------
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