                   ________      _________________225

vect* vecfc::operator->();

//  i
//  1   &p[++i]

  vect   7.7,    
,  . 202  ,    
 .

20. ( )     (  )  :

class vect {
public:

friend class smart_ptr_vect;   //  vect

};

class smart_ptr_vect {
public:

smart_ptr_vect(const vectSc v)

smart_ptr_vect& operator->();

private:

int* ptr;

int  position;

i -

smart_ptr_vect::smart_ptr_vect(consfc vect& v) :

position(O), ptr(v.p) { }
smart_ptr_vect& smart_ptr_vect::operator->()

r

I

//     [position]   ,
//     

  vect   7.7,    
,  . 202  ,    .

21.  - polynomial: :plus()   6.9, 
  ,  . 174        

operator+:

polynomial operator+(const polynomials:, const polynomials)
      polynomial.

22. ()      .   -
     .   ,
       
?      , 
  .      
   .