2 <concept name=
"LessThanComparable" category=
"Utility"><!--
3 Based on concepts from the SGI Standard Template Library documentation:
4 Copyright (c) 1996-1999
5 Silicon Graphics Computer Systems, Inc.
8 Hewlett-Packard Company
10 Copyright 2000-2001 University of Notre Dame du Lac.
11 Copyright 2001-2002 Indiana University.
12 Some concepts based on versions from the MTL draft manual and Boost Graph
13 and Property Map documentation:
14 Copyright (c) Jeremy Siek, Lie-Quan Lee, and Andrew Lumsdaine 2000
16 <param name=
"X" role=
"comparable-type"/>
18 <models-sentence>The type
<arg num=
"1"/> must be a model of
<self/>.
</models-sentence>
20 <description><para>LessThanComparable types must have
<code><</code>,
21 <code>></code>,
<code><=
</code>, and
<code>>=
</code>
22 operators.
</para></description>
24 <notation variables=
"x y"><sample-value><type name=
"X"/></sample-value></notation>
26 <valid-expression name=
"Less than">
28 <sample-value><type name=
"X"/></sample-value>
29 <sample-value><type name=
"X"/></sample-value>
32 <convertible-to testable=
"yes">
36 <semantics>Determine if one value is less than another.
</semantics>
39 <valid-expression name=
"Less than or equal">
41 <sample-value><type name=
"X"/></sample-value>
42 <sample-value><type name=
"X"/></sample-value>
45 <convertible-to testable=
"yes">
49 <semantics>Determine if one value is less than or equal to another.
</semantics>
52 <valid-expression name=
"Greater than">
54 <sample-value><type name=
"X"/></sample-value>
55 <sample-value><type name=
"X"/></sample-value>
58 <convertible-to testable=
"yes">
62 <semantics>Determine if one value is greater than another.
</semantics>
65 <valid-expression name=
"Greater than or equal to">
66 <greater-than-or-equal>
67 <sample-value><type name=
"X"/></sample-value>
68 <sample-value><type name=
"X"/></sample-value>
69 </greater-than-or-equal>
71 <convertible-to testable=
"yes">
75 <semantics>Determine if one value is greater than or equal to another.
</semantics>