# string_compare_type.hpp

Go to the documentation of this file.

    00001 /* $Id: string_compare_type.hpp 15365 2009-02-05 22:59:05Z smatz $ */
    00002
    00005 #ifndef STRING_COMPARE_TYPE_HPP
    00006 #define STRING_COMPARE_TYPE_HPP
    00007
    00008 struct StringCompare {
    00009   bool operator () (const char *a, const char *b) const
    00010   {
    00011     return strcmp(a, b) < 0;
    00012   }
    00013 };
    00014
    00015 #endif /* STRING_COMPARE_TYPE_HPP */