Example #1
0
 bool operator () (const FileProperty& fp1, const FileProperty& fp2) const
 { return fp1.getFileExtension() == fp2.getFileExtension(); }
Example #2
0
 size_t operator () (const FileProperty& fp) const
 { return std::hash<std::string>()(fp.getFileExtension()); }