
6 Dec
2011
6 Dec
'11
10:34 a.m.
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.)