Topic: set::operator <(set)


Author: Dirk Herrmann <Herrmann@ida.ing.tu-bs.de>
Date: 1997/11/04
Raw View
Hello!

In CD2 it says about container requirements:

  |a < b  convertible to bool  lexicographical_  pre: < is defined  linear|
  |                            compare(a.be-     for values of T.         |
  |                            gin(),            < is a total or-         |
  |                            a.end(),b.be-     dering relation.         |
  |                            gin(), b.end())                            |

For associative containers lexicographical_compare therefore does not
use the Compare-class.

Does anyone know if this is intended?

--
Best regards, Dirk Herrmann
---
[ comp.std.c++ is moderated.  To submit articles: try just posting with      ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu         ]
[ FAQ:      http://reality.sgi.com/employees/austern_mti/std-c++/faq.html    ]
[ Policy:   http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
[ Comments? mailto:std-c++-request@ncar.ucar.edu                             ]