
Bill Buklis wrote:
Nevermind. I see you did put the predicate in your message. Thanks. Somehow I missed it when reading it.
bool predicate( const std::pair
& p ) { return p.first.size() > 3; } This does work correctly. Thanks.
HTH
Out of curiosity, if nothing else, is there a corresponding typedef that would match this? std::map would use value_type. What would be the equivalent for the ptr_map/void-ptr-map? Of course, depending on the length and indirection, it may be better anyway to explicitly list it out as the std::pair.
The current docs are a bit weak in this matter. But
ptr_map