Boost logo

Boost Users :

From: Yuval Ronen (ronen_yuval_at_[hidden])
Date: 2007-02-19 15:20:49


Gottlob Frege wrote:
> I was just concerned that you were putting too much meaning into
> std::pair (in general, not just in the context of maps). The members
> never really should have been called 'first/second' (implying order or
> lack of symmetry or any other meaning). I think it was just such a
> generic concept ('pair') that it was hard to name the members - maybe
> they should have just been called 'foo' and 'bar' to avoid any
> meaning.

std::pair members really are asymmetric, so the names 'first' and
'second' are certainly in place. Think operator< ...


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