This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Bug? If not what is the issue?
- From: Eljay Love-Jensen <eljay at adobe dot com>
- To: Mark Woollard <mark at swsoft dot co dot uk>, gcc-help at gcc dot gnu dot org
- Cc: Mark Woollard <mark at swsoft dot co dot uk>
- Date: Mon, 01 Mar 2004 05:30:28 -0600
- Subject: Re: Bug? If not what is the issue?
- References: <99A04ECD-6B65-11D8-864A-000A95C391C8@swsoft.co.uk>
Hi Mark,
Try this:
namespace __gnu_cxx
{
struct hash<Object>
{
size_t operator()(const Object& obj) const {
return obj->hashcode();
}
};
}
HTH,
--Eljay