$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: David Abrahams (dave_at_[hidden])
Date: 2002-09-06 07:49:46
From: "Gabriel Dos Reis" <gdr_at_[hidden]>
> I didn't say I needed a *particular* order; what is important is the
> _ability_ to use it as a key. Yes, one can define one each time one
> needs it (I used the lexicographical compare).
> Similar arguments would apply for pointers (in general) also, but it
> is much more convenient to say std::map<T*, U>, than
> std::map<T*, U, MyCompare> when the exact ordering MyCompare doesn't
> really matter.
The question remains, then, which intervals shall the ordering consider to
be equivalent? Is the lexicographic ordering adequate?
-----------------------------------------------------------
David Abrahams * Boost Consulting
dave_at_[hidden] * http://www.boost-consulting.com