From 1052074784898109403
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,fbd36da46c3cc7a0
X-Google-Attributes: gidf78e5,public
From: Bill Wade <bill.wade@stoner.com>
Subject: Re: Discussion: type_info
Date: 1999/12/06
Message-ID: <823n5t$7qg@library1.airnews.net>#1/1
X-Deja-AN: 557079786
Approved: Fergus Henderson <fjh@cs.mu.oz.au>
References: <81ecdl$pq$1@nnrp1.deja.com> <memo.19991126195718.59965A@btinternet.com> <81u646$kln$1@nnrp1.deja.com>
X-Original-Date: Wed, 01 Dec 1999 11:21:03 -0600
X-MIMEOLE: Produced By Microsoft MimeOLE V4.72.3110.3
X-Complaints-To: news@news.unimelb.edu.au
X-Trace: ariel.ucs.unimelb.edu.au 944445229 4496 128.250.37.153 (6 Dec 1999 01:53:49 GMT)
Organization: Neosoft (using Airnews.net!)
X-Auth: PGPMoose V1.1 PGP comp.std.c++ iQBFAgUAOEsXQuEDnX0m9pzZAQG0lAF+IFEh/KwJy9X48PnGpyn1qe+h27QhBbsA y7qqhYkj9YA7UHt7wuC71dhQKsCZcWHa =9Nj1
NNTP-Posting-Date: 6 Dec 1999 01:53:49 GMT
Abuse-Reports-To: abuse at airmail.net to report improper postings
Newsgroups: comp.std.c++

sirwillard@my-deja.com wrote in message <81u646$kln$1@nnrp1.deja.com>...

>... hashing is a common programming technique.  [ strongly implies: ] RTTI
should
> provide state info consistent with the implementation of hashing
algorithms.

Complain about that if you will, but first raise a stink about being unable
to hash pointers (of any type) in either standard C or C++.  Most
non-trivial programs have many more objects than types.  I'd be interested
to hear about platforms where
   pointer == pointer
and
  less(pointer,pointer)
can be efficiently implemented but
  hash(pointer)
is expensive.
---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html              ]



