             : 

    cp->Detach( 2, TShouldDelete::Delete); 

     2 ,        . 
        . 
 TShouldDelete::Delete ,       
   . 
      ,         
. ,       
  : 

    cp->Detach(&s,  TShouldDelete::NoDelete); 

             
      ,     
  . ,       
     s,  ,  
,  :	

    cp->Flush(); 

       Flush()   ,   
.       ""  , 
    ,     
,       . 
       ,     ,   
 . ,      , 
    :

    cp->Detach(n-1, TShouldDelete::DefDelete); 

      Detach  DefDelete  ,  
      ,   
 .      ,    
 ,       . 
    ,     ,    
       new: 

    delete cp; 

      ,         
 ,   .      , 
    ,   .     
  ,       ,  
   . 

    1.   Flush()   . 
    2.         ,  
  Flush(). 

     ,      ,  , 
      Flush(),     
   .     
      Flush().  
        OWNER.CPP: 

    template <class T> class TIMyArrayAsVector : 
         public TIArrayAsVector<T> { 
    public: 
       TIMyArrayAsVector(int upper,   int lower = 0,   int delta = 0)  : 
         TIArrayAsVector<T>(upper,  lower,  delta)  { } 
       ~TImyArrayAsVector  { Flush();  }
     };

       TIMyArrayAsVector    . 
   Flush()     DefDelete. 
,    ,    
 ,        . 
           OWNER.CPP,   
typedef  TContainer ,   .    
     . 

    typedef TIMyArrayAsVector<string> TContainer;        

   
    

             
  -.    ,  
TContainer,    , 6    
 ,      typedef.   
  typedef    .     
 ,    ,    . 
    

    436	 IV.   
