[Libcds-user] Retrieve value with MichaelHashMap
Concurrent Data Structure library
Brought to you by:
khizmax
|
From: Lucas L. <luc...@gm...> - 2013-01-30 13:26:12
|
I am using MichaelHashMap following the example in the documentation ( http://libcds.sourceforge.net/doc/cds-api/classcds_1_1container_1_1_michael_hash_map.html#details). I see I can pass a functor as argument to the find() method to manipulate the <key,value> pair found. My problem is that I am having problems to define such functor and to pass it as argument to the find() method. Can someone provide me a simple example on how to retrieve a value from the MichaelHashMap from a key, following the existing example in the documentation? Thank you for the attention. :) -- Lucas Lersch |