Boost logo

Boost Users :

From: Ronald Garcia (garcia_at_[hidden])
Date: 2006-04-27 14:41:34


On Apr 26, 2006, at 11:09 AM, Robert Ramey wrote:

> Ronald Garcia wrote:
>> Hi Robert,
>>
>> You are correct that the documentation is ambiguous on this point.
>> The MultiArray concept should explicitly state the restrictions on
>> the relationship
>> between both arrays involved in a comparison. However, the library
>> should have been designed to allow comparisons between different
>> models of MultiArray.
>
> Now, that is the main issue. How difficult would it be to implement
> the functionality as templates in terms of the valid operations
> described in the concept? That is what is really needed.
>

Correct. I think that all-in-all it shouldn't bee too difficult,
though I will likely need to make some changes to the MultiArray
concept, specifically the addition of a traits class to establish
models of MultiArray as well as dimensionality.
 From there, implementing the operations should not be difficult.

Cheers,
ron


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