#pragma once #include #include struct StringPtrHash { size_t operator()(const std::string* s) const { return std::hash()(*s); } }; struct StringPtrEqual { bool operator()(const std::string* a, const std::string* b) const { if (a == b) return true; if (!a || !b) return false; return *a == *b; } };