Boost logo

Boost Users :

Subject: [Boost-users] array definition
From: Damien MATTEI (mattei_at_[hidden])
Date: 2010-03-01 03:45:26


hello,

i have this definition that works:

array_2D_double psf_cartesian_centered(boost::extents[range_ext(indiceBegin,indiceEnd+1)][range_ext(indiceBegin,indiceEnd+1)]);
  
but i want to use this writing to improve reading of my code in a more natural way:

array_2D_double psf_cartesian_centered2[ boost::indices[indiceBegin <= array_2D_double::index_range() < indiceEnd][indiceBegin <= array_2D_double::index_range() < indiceEnd] ];

unfornunately this does not work , i read one hundred times the boost tutorial and documention qhere it is written something like this
 should ... what is my error?

regards,

damien


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