home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / cplus / 18592 < prev    next >
Encoding:
Text File  |  1992-12-31  |  940 b   |  19 lines

  1. Newsgroups: comp.lang.c++
  2. Path: sparky!uunet!paladin.american.edu!gatech!emory!wupost!csus.edu!netcom.com!erc
  3. From: erc@netcom.com (Eric Smith)
  4. Subject: Re: template disappointments ... (suggestions?)
  5. Message-ID: <1992Dec31.150138.22342@netcom.com>
  6. Organization: Netcom - Online Communication Services (408 241-9760 guest)
  7. References: <24508@alice.att.com> <1hqnd6INNe83@agate.berkeley.edu> <1992Dec30.173230.22878@taumet.com>
  8. Date: Thu, 31 Dec 1992 15:01:38 GMT
  9. Lines: 8
  10.  
  11. In article <1992Dec30.173230.22878@taumet.com> steve@taumet.com (Steve Clamage) writes:
  12. >In a template instantiation, the 'int' argument might be any expression,
  13. >including one containing right shifts.  If you try to allow what appears
  14. >to be a right shift to be two closing ">" instead, you wind up with
  15. >nondeterministic lexing/parsing, ambiguous grammars, or context-sensitive
  16.  
  17. How is >> different from > in that respect?  a>b is a perfectly valid
  18. int expression.
  19.