Good afternoon, I have been trying to use the boost::intrusive::hashtable class but i don't understand clearly how it works. Additionally, I would like to change the hashing function used. Where can i get some example of the hashtable usage? Thanks in advance Ricardo
On 08/11/2010 18:18, Ricardo Uribe Lobello wrote:
Good afternoon,
I have been trying to use the boost::intrusive::hashtable class but i don't understand clearly how it works. Additionally, I would like to change the hashing function used. Where can i get some example of the hashtable usage?
It's very similar to unordered_set, see
http://www.boost.org/doc/libs/1_44_0/doc/html/intrusive/unordered_set_unorde...
To change the hash function add hash<> template option parameter:
using ::boost::intrusive;
hashtable
participants (2)
-
Ion GaztaƱaga
-
Ricardo Uribe Lobello