| 82 | |
| 83 | namespace { |
| 84 | class CompareFeaturesByPriority: public ybinary_function<const Feature::Ptr&, const Feature::Ptr&, bool> { |
| 85 | public: |
| 86 | bool operator()(const Feature::Ptr& a, const Feature::Ptr& b) const |
| 87 | { |
| 88 | return a->Priority() < b->Priority(); |
| 89 | } |
| 90 | }; |
| 91 | } |
| 92 | |
| 93 | Lexer& Lexer::AddFeature(Feature::Ptr& feature) |