240                                    8. :   

 .      
      . , 
    .

  list2.h

list::iterator iterator::operator++()
{

assert(ptr i = 0) ;

ptr = ptr -> next;

 return *this;

}

,          
      .    -
,        (.  13 
.243).

       
   temp.

list::iterator iterator::operator++(int)
{

assert(ptr i = 0) ;

iterator temp = *this;

ptr = ptr -> next;

return temp;

}



1.       .   -
 ,       -
  ,   ,   -
,         .

2.      begin ()  end (),  -
.   STL begin ()     ,
a end ()   ,   
  .

3.   void*       -
.       .   -
 void* ,  ,   -
  .

4.    ,     -
  1 i s t  STL.       -
.  ,       ,
   ,  ; ,    
      .