184                                    6.    

::(const & )

         ,
:

       .

     ( )    .

     .

 C++,    ,    
 .

5. ,  ,     , -
       -
,   .     
,        .  -
    (      -
).

6.        .
       
.   ,      .
 ,     ,    -
.     .    
 , ,  , .

7.        -
.       . ,
rny_type: :my_type (int) ;   int  my_type. 
        

explicit.



1. ,       -
.  ,     private?

2.  -   mod_int:

void add(int i);// i  v   60

3.       .  -
          
    .

//   
#include <iostream.h>

class A {
public:

A(int n) : xx(n)

{ cout  " "  "A(int " n  ')'  endl; }