Boost logo

Boost Users :

Subject: Re: [Boost-users] [Boost.MultiArray]: size question
From: Larry Evans (cppljevans_at_[hidden])
Date: 2012-12-17 15:24:14


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 :(

-regards,
Larry


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