Boost logo

Boost :

From: Gabriel Dos Reis (gdr_at_[hidden])
Date: 2002-09-06 09:20:10


"Peter Dimov" <pdimov_at_[hidden]> writes:

| less<> was decoupled from operator< for pointers and it went downhill from
| there.

Actually, it is the coupling of std::less<> with operator< that I see
downhill. Just like pointers, there are useful datatypes out there for
which it doesn't really make sense to have a general operator< but
for which it would make sense to have a default std::less<>, for use
with associtive containers fro example.

-- Gaby


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk