I have a problem what is demonstrated in the attached file.
Basically I have the following
create multi_array - a1
create a view on the multiarray which has the same number of dimensions
a1_view
a1 == a1_view fails to compile.
The attached example illustrates this. In the example I verify that
both a1 and a1_view fullfill the requirements for Multi Array. The
documentation
states that in order for a type to be a model of the Multi Array concept.
The
operations
a == b must be valid.
Actually the documentation could be considered ambiguous on this point. But
that is was I get from a plain reading of the document and from a common
sense
interpretation. If two types meeting the requirements of the Multi Array
concept
have the same number of dimensions, I expect to be able to compare them as
this is natural operation to perform and implement.
Robert Ramey
begin 666 test_misc.cpp
M(VEN8VQU9&4@(F)O;W-T+V-O;F-E<'1?8VAE8VLN:'!P(@T*(VEN8VQU9&4@
M(F)O;W-T+VUU;'1I7V%R