Boost logo

Boost :

From: Joaquin M López Muñoz (joaquinlopezmunoz_at_[hidden])
Date: 2024-09-28 09:06:36


El 28/09/2024 a las 9:49, Murali Kishore via Boost escribió:
> [...]
>
> // Define the unordered_map type
> typedef boost::unordered_map<timer_id_t, timer_instance_t,
> std::hash<timer_id_t>, std::less<timer_id_t>, MapAllocator>
> timer_instance_map_t;

You have to use std::equal_to<timer_id_t> rather than
std::less<timer_id_t>. Please try and let us know if that solves your issue.

Joaquin M Lopez Munoz


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