home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / lang / cplus / 15845 < prev    next >
Encoding:
Internet Message Format  |  1992-11-06  |  584 b 

  1. From: kevinc@hpcc01.corp.hp.com (Kevin Collins)
  2. Date: Thu, 5 Nov 1992 19:24:08 GMT
  3. Subject: Re: Inheritance & operator overloading
  4. Message-ID: <1000010@hpcc01.corp.hp.com>
  5. Organization: the HP Corporate notes server
  6. Path: sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!sun-barr!ames!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!sdd.hp.com!scd.hp.com!hpscdm!hplextra!hpcc05!hpcc01!kevinc
  7. Newsgroups: comp.lang.c++
  8. References: <1000009@hpcc01.corp.hp.com>
  9. Lines: 8
  10.  
  11. The answer was provided by Steve Vinoski :
  12.  
  13. The correct call is :
  14.  
  15. Block<Type>::operator[](i);
  16.  
  17. Thanks Steve.
  18.  
  19.