Searching through a multi_array[_ref] using STL algorithms

25 May
2005
25 May
'05
5:14 p.m.
Hi, I would like to do the following: multi_array<double,2> a(boost::extents [ extent_range(1,361)] [ extent_range(1,3)]); ... multi_array<double,2>::iterator i = std::find(a.begin(),a.end(),_1[2]==50.); That is, I want to find the row where the second column is 50. Since lambda can't be used like this, how would you propose I do this in a syntactically concise manner? Thanks Sohail
7304
Age (days ago)
7304
Last active (days ago)
0 comments
1 participants
participants (1)
-
Sohail Somani