Changeset 217 for trunk/lib/utility.h


Ignore:
Timestamp:
Oct 1, 2006, 9:58:52 AM (15 years ago)
Author:
Peter Johansson
Message:

refs #69 fixed so it works for '#' and '%'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/utility.h

    r214 r217  
    7070  }
    7171
    72   inline bool match_end(std::string::const_iterator first,
    73                         std::string::const_iterator last,
     72  inline bool match_end(std::string::const_reverse_iterator first,
     73                        std::string::const_reverse_iterator last,
    7474                        const std::string& str)
    7575  { return (std::distance(first,last)>=static_cast<int>(str.size()) &&
Note: See TracChangeset for help on using the changeset viewer.