 ________________________________________________219

,    ,     my_string, 
 complex,    int.

2.  C++    :

static_casfc<T.i-m> ()
reinterpret_cast<T.n.n> ( )
coTist_cast<Tun> ()
dynamic_cast< >()

     :

 = float(i);    //    C++
 = (float) i;   //   

3.        -
       .  -
          
  .     - -
 :

operator () [      ]

      ,   
      .

4.        
       .  -
   .      
           
  .       -
.

   

1.    ( ).

2.    .

3.    .

4.    .

5. ,  ,   ( -
).

).   friend   ,  
--    -public  ,  
 .

).   operator ,  ,   -
  C++.    ,   print,  -
   ,   ,   ,
, +,    .  -
        ,
   .      
.