Boost logo

Boost Users :

Subject: [Boost-users] signature discrepancy between equal_range and upper_bound
From: giecrilj_at_[hidden]
Date: 2011-12-06 05:34:01


The algorithm equal_range takes the Value by constant reference
while the algorithm upper_bound takes Value by value.
Why is that? (Note that standard algorithms take a constant reference.)


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