In reply to dave_59:
Hi Dave ,
Need you thoughts on the following ::
Are (1) && (2) always Similar ? ::
(1) A.sum with ( int' ( item == max ) ) == 1 ;
(2) A.sum(item) with ( int'( item = max ) ) == 1 ; // Iterator_argument Specified
In LRM 7.12 Array Manipulation Methods it says ::
[ ( iterator_argument ) ] is Optional .
So if we were to specify any other iterator_argument name ( i.e other than item ) we would need to explicitly specify it .
Ex :: A.sum( x ) with ( int ' ( x == max ) ) == 1 ;
Thanks