Boost logo

Boost :

From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2005-03-14 09:18:56


"Daniel James" <daniel_at_[hidden]> wrote in message
news:d1409a$kc1$1_at_sea.gmane.org...

| If Thorsten writes ptr_unordered_set<base> then there might be a problem
| with boost::hash<base>. Although it will equally apply to
| std::equal_to<base>.

yeah, I defiintely will do so at some point. I'm thinking
ptr_unordered_set sounds worse than unordered_ptr_set, but the former
would be more of what we expect.

Anyway, ptr_XX generally forwards to the underlying object and not the
pointers, but
when it comes to hash-functions I can see no good reason for this not to be
based on
the pointer itself.

-Thorsten


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk