Namespaces
Variants
Views
Actions

Difference between revisions of "cpp/utility/functional/less"

From cppreference.com
< cpp‎ | utility‎ | functional
(+)
 
(typo)
Line 21: Line 21:
 
===Member functions===
 
===Member functions===
 
{{dcl list begin}}
 
{{dcl list begin}}
{{dcl list mem fun | cpp/utility/functional/greater/operator() | checks if the first argument is ''less'' than the second}}
+
{{dcl list mem fun | cpp/utility/functional/less/operator() | checks if the first argument is ''less'' than the second}}
 
{{dcl list end}}
 
{{dcl list end}}

Revision as of 12:40, 9 January 2012

Template:cpp/utility/functional/sidebar Template:ddcl list begin <tr class="t-dsc-header">

<td>
Defined in header <functional>
</td>

<td></td> <td></td> </tr> <tr class="t-dcl ">

<td class="t-dcl-nopad">
template< class T >
struct less;
</td>

<td class="t-dcl-nopad"> </td> <td class="t-dcl-nopad"> </td> </tr> Template:ddcl list end

Function object for performing comparisons. Implements Template:cpp on type T.

Member types

Template:tdcl list begin Template:tdcl list hitem Template:tdcl list item Template:tdcl list item Template:tdcl list item Template:tdcl list end

Member functions

checks if the first argument is less than the second
(public member function)