Esempio n. 1
0
 bool operator () (const FileProperty& fp1, const FileProperty& fp2) const
 { return (fp1.getHashB() == fp2.getHashB()) &&
             (fp1.getHashA() == fp2.getHashA()) &&
             (fp1.getSize() == fp2.getSize()); }
Esempio n. 2
0
 size_t operator () (const FileProperty& fp) const
 { return std::hash<unsigned long>()(fp.getSize()); }
Esempio n. 3
0
 bool operator () (const FileProperty& fp1, const FileProperty& fp2) const
 { return fp1.getSize() == fp2.getSize(); }