lestes::lang::cplus::lex::token_value::compare_less Struct Reference

Less than comparator for token_value. More...

#include <token_value.hh>

List of all members.

Public Member Functions

bool operator() (const ptr< token_value > &left, const ptr< token_value > &right) const
 Compares two token values.

Detailed Description

Less than comparator for token_value.

Member Function Documentation

bool lestes::lang::cplus::lex::token_value::compare_less::operator() ( const ptr< token_value > &  left,
const ptr< token_value > &  right 
) const

Compares two token values.

Compares two token values. Null is less than everything else. Otherwise content is compared with < operator.

left The left operand for the comparator.
right The right operand for the comparator.
true If only left operand is null or left->less_than(right).

The documentation for this struct was generated from the following files:
Generated on Mon Feb 12 18:43:53 2007 for lestes by doxygen 1.5.1-20070107