..                                     __ ___ ____   433

           1.  -
    2.     -
: 1  2   .   2 + (1 - ).

 fcemplate<class Forwlter>

Forwardlfcer unique(Forwiter b, Forwiter e);

      b    (
).     .

 template<class Forwiter, class BinaryPred>

Forwardlter unique(Forwiter b, Forwiter e, BinaryPred bp) ;

     b  ,   -
 bp,  ( ).    -
 .

 template<class Inputlter, class Outputlter>

Outputlter unique_copy(Inputlter bl, Inputlter el,
Output Iter b2) ;

template<class Inputlfcer, class Outputlter, class BinaryPred>
Outputlter unique_copy(Inpufclfcer bl, Inputlter el,
Outputlter b2, BinaryPred bp);

 ,     b2,   
 .

      .

STL:  ,  

swapfti, t2)	  tl  t2
iterswap(bl, b2)	  ,  
	 
swaprange(, el, b2)	    
	 bl  1  ,  ,
	  b2;  b2 + (el - bl)
transform(bl, el, b2, op)	    op
	   bl  1,
	   b2,   
	 
transform	   bop  
(bl, el, b2, b3, bop)	,   bl
	 b2,   
	b3;   
	 
replace(b, e, tl, t2)	   b    
	tl  t2
replaceif(b, e, p, t2)	   b    ,
	  p,  t2
	  . .