9.10.                                                          271

      find () -
    t.

  stl_find.cpp

//  

ttinclude <iostream>
^include <algorithm>
^include <string>
using namespace std;

int main()
{                                //

string words[5] = { "", "", "", "", ""};

string* where;

where = findfwords, words + 5, "");

cout  *++where  endl;      //
sort(words, words + 5);

where = find(words, words + 5, "");

cout  *++where  endl;      //
}

 f ind ()      .    
 words [ ]  ,   .

      :

 template<class Inputlter, Class T>

Inputlter find(Inputlter b, Inputlter e, const T& t);

  t    b  e.

 template<class Inputlter, Class Predicate>

Inputlter find(Inputlter b, Inputlter e. Predicate p) ;

   b  e    ,   
(predicate) ,      e.

       .3.2,  -
  ,  . 431.

9.10.3.   

     ,  
 .        .
      

reverse ()  copy().

  stl_revr.cpp

//   reverse  copy
ttinclude <iosfcream>