...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Home | Libraries | People | FAQ | More |
LessThanComparable
LessThanComparable types must have <, >, <=, and >= operators.
Name | Expression | Type | Semantics |
---|---|---|---|
Less than | x < y | Convertible to bool | Determine if one value is less than another. |
Less than or equal | x <= y | Convertible to bool | Determine if one value is less than or equal to another. |
Greater than | x > y | Convertible to bool | Determine if one value is greater than another. |
Greater than or equal to | x >= y | Convertible to bool | Determine if one value is greater than or equal to another. |
Last revised: , at GMT | Copyright © 2001, 2002 Indiana University Copyright © 2000, 2001 University of Notre Dame du Lac Copyright © 2000 Jeremy Siek, Lie-Quan Lee, Andrew Lumsdaine Copyright © 1996-1999 Silicon Graphics Computer Systems, Inc. Copyright © 1994 Hewlett-Packard Company |