multi_array: error: expected primary-expression before ‘)’
Hello,
I am trying from the multi_array web site doc:
typedef boost::multi_array
AMDG Valmor de Almeida wrote:
I am trying from the multi_array web site doc:
typedef boost::multi_array
array_type; array_type A(boost::extents[3][4][2],boost::fortran_storage_order); and getting the following compile-time error:
g++ img2hermes2dmsh.cpp In function ‘int main()’: error: expected primary-expression before ‘)’ token
Any insights? I am using boost-1.41 on gentoo linux.
boost::fortran_storage_order is a type. Try boost::fortran_storage_order(). In Christ, Steven Watanabe
On 08/30/2010 09:35 PM, Steven Watanabe wrote:
AMDG
Valmor de Almeida wrote:
I am trying from the multi_array web site doc:
typedef boost::multi_array
array_type; array_type A(boost::extents[3][4][2],boost::fortran_storage_order); and getting the following compile-time error:
g++ img2hermes2dmsh.cpp In function ‘int main()’: error: expected primary-expression before ‘)’ token
Any insights? I am using boost-1.41 on gentoo linux.
boost::fortran_storage_order is a type. Try boost::fortran_storage_order().
In Christ, Steven Watanabe
Solved. Thank you. -- Valmor
participants (2)
-
Steven Watanabe
-
Valmor de Almeida