Boost logo

Boost Users :

Subject: [Boost-users] Bimap compare function
From: Tyler Conant (gosuperninja_at_[hidden])
Date: 2012-05-03 17:30:53


I noticed that the comparator for a bimap can only be a Functor Type. It
does not appear that I can pass a function object or a function pointer, as
a STL Set would allow. Is this correct or did I miss something. For my
application I could really use the ability to pass in comparator which is
decided at runtime. Does anyone have any suggestions on a work around?



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net