Changeset 507 for trunk/lib/utility.h


Ignore:
Timestamp:
Dec 8, 2007, 4:58:19 AM (14 years ago)
Author:
Peter Johansson
Message:

added function comparing strings with wildcards - needed for #122

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/utility.h

    r482 r507  
    6969   */
    7070  std::string directory_name(std::string path);
     71
     72  /**
     73     Function to compare strings. Strings may contain '*'.
     74
     75     \return true if \a a and \a b are identical.
     76   */
     77  bool equal(std::string::const_iterator first1,
     78             std::string::const_iterator end1,
     79             std::string::const_iterator first2,
     80             std::string::const_iterator end2);
    7181
    7282  ///
Note: See TracChangeset for help on using the changeset viewer.