requirement pivotal std::multimap


i have std::multimap where pivotal tradition class. something this:



class x {
public:
std::string s;
int x;
user <(const x& other) const { relapse s < other.s; }
};
std::multimap<x, int> mymap;


now, i'd upper_bound lower_bound iterate over elements same value "s". i need exercise user x (for example: ==). work morally only this?



also, should i supply justification upper_bound lower_bound? i assume i should emanate pygmy vigilant preferred value "s"?



Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?