
Larry Evans
On 12/17/12 14:14, gast128 wrote:
This gives at least an assert:
BOOST_ASSERT(size_type(idx - index_bases[0]) < extents[0]);
Isn't there a better solution?
Are you referring to multi_array for the array_dyn alternative mentioned in my OP? Or this this reply not intended for me?
Could you provide the complete program that has this statement in it?
I've grepped files here:
http://svn.boost.org/svn/boost/sandbox/variadic_templates/sandbox/array_dyn
for extents, and found none; hence, I'm confused :(
I am talking about multi_array, see title. Example code:
void f()
{
typedef boost::multi_array