home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / std / c++ / 201 < prev    next >
Mailbox/MIME Entity  |  1996-08-06  |  1.8 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news, ASCII text default
100% checkBytes Printable ASCII default
100% dexmagic PrintFox/Pagefox WEAK default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/950 MIME Email (1.0) default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime message/news default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 65 6e | 67 6e 65 77 73 31 2e 45 |Path: en|gnews1.E|
|00000010| 6e 67 2e 53 75 6e 2e 43 | 4f 4d 21 74 61 75 6d 65 |ng.Sun.C|OM!taume|
|00000020| 74 21 63 6c 61 6d 61 67 | 65 0a 46 72 6f 6d 3a 20 |t!clamag|e.From: |
|00000030| 6a 61 73 6f 6e 40 63 79 | 67 6e 75 73 2e 63 6f 6d |jason@cy|gnus.com|
|00000040| 20 28 4a 61 73 6f 6e 20 | 4d 65 72 72 69 6c 6c 29 | (Jason |Merrill)|
|00000050| 0a 4e 65 77 73 67 72 6f | 75 70 73 3a 20 63 6f 6d |.Newsgro|ups: com|
|00000060| 70 2e 73 74 64 2e 63 2b | 2b 0a 53 75 62 6a 65 63 |p.std.c+|+.Subjec|
|00000070| 74 3a 20 52 65 3a 20 4f | 62 73 65 72 76 61 74 69 |t: Re: O|bservati|
|00000080| 6f 6e 73 20 6f 6e 20 74 | 65 6d 70 6c 61 74 65 73 |ons on t|emplates|
|00000090| 0a 44 61 74 65 3a 20 31 | 20 46 65 62 20 31 39 39 |.Date: 1| Feb 199|
|000000a0| 36 20 30 30 3a 30 37 3a | 30 36 20 47 4d 54 0a 4f |6 00:07:|06 GMT.O|
|000000b0| 72 67 61 6e 69 7a 61 74 | 69 6f 6e 3a 20 43 79 67 |rganizat|ion: Cyg|
|000000c0| 6e 75 73 20 53 75 70 70 | 6f 72 74 2c 20 4d 6f 75 |nus Supp|ort, Mou|
|000000d0| 6e 74 61 69 6e 20 56 69 | 65 77 2c 20 43 41 0a 53 |ntain Vi|ew, CA.S|
|000000e0| 65 6e 64 65 72 3a 20 6a | 61 73 6f 6e 40 63 79 67 |ender: j|ason@cyg|
|000000f0| 6e 75 73 2e 63 6f 6d 0a | 41 70 70 72 6f 76 65 64 |nus.com.|Approved|
|00000100| 3a 20 63 6c 61 6d 61 67 | 65 40 65 6e 67 2e 73 75 |: clamag|e@eng.su|
|00000110| 6e 2e 63 6f 6d 20 28 63 | 6f 6d 70 2e 73 74 64 2e |n.com (c|omp.std.|
|00000120| 63 2b 2b 29 0a 4d 65 73 | 73 61 67 65 2d 49 44 3a |c++).Mes|sage-ID:|
|00000130| 20 3c 75 39 6f 68 72 6b | 30 77 6a 63 2e 66 73 66 | <u9ohrk|0wjc.fsf|
|00000140| 40 79 6f 72 69 63 6b 2e | 63 79 67 6e 75 73 2e 63 |@yorick.|cygnus.c|
|00000150| 6f 6d 3e 0a 52 65 66 65 | 72 65 6e 63 65 73 3a 20 |om>.Refe|rences: |
|00000160| 3c 41 43 56 49 38 33 6e | 61 39 39 40 71 73 61 72 |<ACVI83n|a99@qsar|
|00000170| 2e 63 68 65 6d 2e 6d 73 | 75 2e 73 75 3e 20 3c 75 |.chem.ms|u.su> <u|
|00000180| 39 76 69 6c 75 38 7a 76 | 7a 2e 66 73 66 40 79 6f |9vilu8zv|z.fsf@yo|
|00000190| 72 69 63 6b 2e 63 79 67 | 6e 75 73 2e 63 6f 6d 3e |rick.cyg|nus.com>|
|000001a0| 0a 4e 4e 54 50 2d 50 6f | 73 74 69 6e 67 2d 48 6f |.NNTP-Po|sting-Ho|
|000001b0| 73 74 3a 20 74 61 75 6d | 65 74 2e 65 6e 67 2e 73 |st: taum|et.eng.s|
|000001c0| 75 6e 2e 63 6f 6d 0a 4d | 69 6d 65 2d 56 65 72 73 |un.com.M|ime-Vers|
|000001d0| 69 6f 6e 3a 20 31 2e 30 | 0a 43 6f 6e 74 65 6e 74 |ion: 1.0|.Content|
|000001e0| 2d 54 79 70 65 3a 20 74 | 65 78 74 2f 70 6c 61 69 |-Type: t|ext/plai|
|000001f0| 6e 3b 20 63 68 61 72 73 | 65 74 3d 22 55 53 2d 41 |n; chars|et="US-A|
|00000200| 53 43 49 49 22 0a 58 2d | 4e 6e 74 70 2d 50 6f 73 |SCII".X-|Nntp-Pos|
|00000210| 74 69 6e 67 2d 48 6f 73 | 74 3a 20 79 6f 72 69 63 |ting-Hos|t: yoric|
|00000220| 6b 2e 63 79 67 6e 75 73 | 2e 63 6f 6d 0a 49 6e 2d |k.cygnus|.com.In-|
|00000230| 52 65 70 6c 79 2d 54 6f | 3a 20 6a 61 73 6f 6e 40 |Reply-To|: jason@|
|00000240| 63 79 67 6e 75 73 2e 63 | 6f 6d 27 73 20 6d 65 73 |cygnus.c|om's mes|
|00000250| 73 61 67 65 20 6f 66 20 | 54 75 65 2c 20 33 30 20 |sage of |Tue, 30 |
|00000260| 4a 61 6e 20 31 39 39 36 | 20 30 34 3a 35 32 3a 31 |Jan 1996| 04:52:1|
|00000270| 35 20 47 4d 54 0a 58 2d | 4e 65 77 73 72 65 61 64 |5 GMT.X-|Newsread|
|00000280| 65 72 3a 20 47 6e 75 73 | 20 76 35 2e 30 0a 58 2d |er: Gnus| v5.0.X-|
|00000290| 4c 69 6e 65 73 3a 20 32 | 31 0a 43 6f 6e 74 65 6e |Lines: 2|1.Conten|
|000002a0| 74 2d 4c 65 6e 67 74 68 | 3a 20 39 30 35 0a 4f 72 |t-Length|: 905.Or|
|000002b0| 69 67 69 6e 61 74 6f 72 | 3a 20 63 6c 61 6d 61 67 |iginator|: clamag|
|000002c0| 65 40 74 61 75 6d 65 74 | 0a 0a 3e 3e 3e 3e 3e 20 |e@taumet|..>>>>> |
|000002d0| 4a 61 73 6f 6e 20 4d 65 | 72 72 69 6c 6c 20 3c 6a |Jason Me|rrill <j|
|000002e0| 61 73 6f 6e 40 63 79 67 | 6e 75 73 2e 63 6f 6d 3e |ason@cyg|nus.com>|
|000002f0| 20 77 72 69 74 65 73 3a | 0a 3e 3e 3e 3e 3e 20 45 | writes:|.>>>>> E|
|00000300| 75 67 65 6e 65 20 52 61 | 64 63 68 65 6e 6b 6f 20 |ugene Ra|dchenko |
|00000310| 3c 65 75 67 65 6e 65 40 | 71 73 61 72 2e 63 68 65 |<eugene@|qsar.che|
|00000320| 6d 2e 6d 73 75 2e 73 75 | 3e 20 77 72 69 74 65 73 |m.msu.su|> writes|
|00000330| 3a 0a 0a 3e 3e 20 33 29 | 20 43 6c 61 75 73 65 20 |:..>> 3)| Clause |
|00000340| 5b 74 65 6d 70 2e 61 72 | 67 2e 65 78 70 6c 69 63 |[temp.ar|g.explic|
|00000350| 69 74 5d 20 76 65 72 73 | 65 73 20 32 2d 33 20 72 |it] vers|es 2-3 r|
|00000360| 65 71 75 69 72 65 73 20 | 74 68 61 74 20 66 6f 72 |equires |that for|
|00000370| 20 65 78 70 6c 69 63 69 | 74 20 61 72 67 20 69 6e | explici|t arg in|
|00000380| 0a 3e 3e 20 6d 65 6d 62 | 65 72 20 74 65 6d 70 6c |.>> memb|er templ|
|00000390| 61 74 65 20 74 6f 20 62 | 65 20 70 72 65 73 65 6e |ate to b|e presen|
|000003a0| 74 20 69 74 20 6d 75 73 | 74 20 62 65 20 71 75 61 |t it mus|t be qua|
|000003b0| 6c 69 66 69 65 64 20 62 | 79 20 27 74 65 6d 70 6c |lified b|y 'templ|
|000003c0| 61 74 65 27 20 6b 65 79 | 77 6f 72 64 2c 0a 3e 3e |ate' key|word,.>>|
|000003d0| 20 65 2e 67 2e 0a 3e 3e | 20 58 20 2a 70 3b 20 70 | e.g..>>| X *p; p|
|000003e0| 2d 3e 74 65 6d 70 6c 61 | 74 65 20 61 6c 6c 6f 63 |->templa|te alloc|
|000003f0| 3c 32 30 30 3e 28 29 3b | 0a 3e 3e 20 42 75 74 20 |<200>();|.>> But |
|00000400| 74 6f 20 75 73 65 20 6f | 70 65 72 61 74 6f 72 20 |to use o|perator |
|00000410| 2d 3e 20 77 65 20 6e 65 | 65 64 20 58 20 63 6c 61 |-> we ne|ed X cla|
|00000420| 73 73 20 64 65 66 69 6e | 69 74 69 6f 6e 20 61 6e |ss defin|ition an|
|00000430| 79 77 61 79 20 2d 20 73 | 6f 20 77 65 20 6b 6e 6f |yway - s|o we kno|
|00000440| 77 20 74 68 61 74 0a 3e | 3e 20 61 6c 6c 6f 63 28 |w that.>|> alloc(|
|00000450| 29 20 69 73 20 61 20 74 | 65 6d 70 6c 61 74 65 2e |) is a t|emplate.|
|00000460| 0a 0a 3e 20 49 74 20 69 | 73 20 6e 65 65 64 65 64 |..> It i|s needed|
|00000470| 20 69 6e 20 73 6f 6d 65 | 20 73 69 74 75 61 74 69 | in some| situati|
|00000480| 6f 6e 73 20 77 68 65 72 | 65 20 77 65 20 64 6f 20 |ons wher|e we do |
|00000490| 6e 6f 74 20 68 61 76 65 | 20 74 68 65 20 58 20 63 |not have| the X c|
|000004a0| 6c 61 73 73 20 64 65 66 | 69 6e 69 74 69 6f 6e 0a |lass def|inition.|
|000004b0| 3e 20 2d 2d 20 69 6e 20 | 74 65 6d 70 6c 61 74 65 |> -- in |template|
|000004c0| 20 64 65 66 69 6e 69 74 | 69 6f 6e 73 2c 20 6c 69 | definit|ions, li|
|000004d0| 6b 65 20 77 69 74 68 20 | 74 79 70 65 6e 61 6d 65 |ke with |typename|
|000004e0| 2e 0a 0a 42 75 74 20 74 | 68 65 6e 2c 20 74 68 65 |...But t|hen, the|
|000004f0| 20 72 75 6c 65 20 69 6e | 20 74 68 65 20 57 50 20 | rule in| the WP |
|00000500| 61 70 70 6c 69 65 73 20 | 72 65 67 61 72 64 6c 65 |applies |regardle|
|00000510| 73 73 20 6f 66 20 77 68 | 65 74 68 65 72 20 77 65 |ss of wh|ether we|
|00000520| 20 6b 6e 6f 77 20 61 62 | 6f 75 74 20 58 2e 0a 49 | know ab|out X..I|
|00000530| 20 63 6f 6e 63 6c 75 64 | 65 20 74 68 61 74 20 74 | conclud|e that t|
|00000540| 68 65 20 69 64 65 61 20 | 77 61 73 20 74 6f 20 61 |he idea |was to a|
|00000550| 6c 6c 6f 77 20 74 68 65 | 20 70 61 72 73 65 72 20 |llow the| parser |
|00000560| 74 6f 20 64 6f 20 69 74 | 73 20 77 6f 72 6b 20 77 |to do it|s work w|
|00000570| 69 74 68 6f 75 74 0a 70 | 65 65 6b 69 6e 67 20 69 |ithout.p|eeking i|
|00000580| 6e 74 6f 20 63 6c 61 73 | 73 65 73 20 74 6f 20 66 |nto clas|ses to f|
|00000590| 69 6e 64 20 6e 61 6d 65 | 73 20 75 73 65 64 20 61 |ind name|s used a|
|000005a0| 66 74 65 72 20 2e 20 6f | 72 20 2d 3e 3b 20 61 6e |fter . o|r ->; an|
|000005b0| 6f 74 68 65 72 20 72 75 | 6c 65 20 61 6c 6f 6e 67 |other ru|le along|
|000005c0| 0a 74 68 65 20 73 61 6d | 65 20 6c 69 6e 65 73 20 |.the sam|e lines |
|000005d0| 72 65 71 75 69 72 65 73 | 20 74 68 61 74 20 61 20 |requires| that a |
|000005e0| 73 63 6f 70 65 20 75 73 | 65 64 20 61 66 74 65 72 |scope us|ed after|
|000005f0| 20 2e 20 6f 72 20 2d 3e | 20 68 61 76 65 20 74 68 | . or ->| have th|
|00000600| 65 20 73 61 6d 65 0a 6d | 65 61 6e 69 6e 67 20 69 |e same.m|eaning i|
|00000610| 6e 20 74 68 65 20 61 6d | 62 69 65 6e 74 20 73 63 |n the am|bient sc|
|00000620| 6f 70 65 20 61 6e 64 20 | 74 68 65 20 73 63 6f 70 |ope and |the scop|
|00000630| 65 20 6f 66 20 74 68 65 | 20 6f 62 6a 65 63 74 20 |e of the| object |
|00000640| 73 70 65 63 69 66 69 65 | 64 2e 0a 0a 4a 61 73 6f |specifie|d...Jaso|
|00000650| 6e 0a 0a 0a 5b 20 63 6f | 6d 70 2e 73 74 64 2e 63 |n...[ co|mp.std.c|
|00000660| 2b 2b 20 69 73 20 6d 6f | 64 65 72 61 74 65 64 2e |++ is mo|derated.|
|00000670| 20 20 53 75 62 6d 69 73 | 73 69 6f 6e 20 61 64 64 | Submis|sion add|
|00000680| 72 65 73 73 3a 20 73 74 | 64 2d 63 2b 2b 40 6e 63 |ress: st|d-c++@nc|
|00000690| 61 72 2e 75 63 61 72 2e | 65 64 75 2e 0a 20 20 43 |ar.ucar.|edu.. C|
|000006a0| 6f 6e 74 61 63 74 20 61 | 64 64 72 65 73 73 3a 20 |ontact a|ddress: |
|000006b0| 73 74 64 2d 63 2b 2b 2d | 72 65 71 75 65 73 74 40 |std-c++-|request@|
|000006c0| 6e 63 61 72 2e 75 63 61 | 72 2e 65 64 75 2e 20 20 |ncar.uca|r.edu. |
|000006d0| 54 68 65 20 6d 6f 64 65 | 72 61 74 69 6f 6e 20 70 |The mode|ration p|
|000006e0| 6f 6c 69 63 79 0a 20 20 | 69 73 20 73 75 6d 6d 61 |olicy. |is summa|
|000006f0| 72 69 7a 65 64 20 69 6e | 20 68 74 74 70 3a 2f 2f |rized in| http://|
|00000700| 64 6f 67 62 65 72 74 2e | 6c 62 6c 2e 67 6f 76 2f |dogbert.|lbl.gov/|
|00000710| 7e 6d 61 74 74 2f 73 74 | 64 2d 63 2b 2b 2f 70 6f |~matt/st|d-c++/po|
|00000720| 6c 69 63 79 2e 68 74 6d | 6c 2e 20 5d 0a 0a |licy.htm|l. ].. |
+--------+-------------------------+-------------------------+--------+--------+