
I've had this same pattern come up 4 or 5 times now, and each time I've
been unable to find a stl + boost solution that allowed me to do what I
want without writing my own less function. Basically, I want something
that will let me do a sort, or define a map on structs or pairs without
writing a less that compares the member variable or .first. My last
attempt:
vector