#ifndef __DATASTRUCTURE_H__ #define __DATASTRUCTURE_H__ #include #include #include class PalmFeature { public: int64_t id; // 对应本地数据库的id std::string username; std::vector feature; }; using PalmFeatures = std::vector; bool operator==(const PalmFeature &lhs, const PalmFeature &rhs); namespace std { template <> struct hash {}; } // namespace std #endif // __DATASTRUCTURE_H__