home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / listings / v_11_09 / 1109103a < prev    next >
Text File  |  1993-07-18  |  158b  |  17 lines

  1. void f()
  2.     {
  3.     class X
  4.         {
  5.     public:
  6.         X(int i) { n = i; }
  7.         operator int() { return n; }
  8.         // ...
  9.     private:
  10.         int n;
  11.         // ...
  12.         };
  13.     // ...
  14.     }
  15.  
  16.  
  17.