#pragma once #include #include #include class StringInterner { private: std::unordered_set pool; public: const std::string* intern(const std::string& str); const std::string* intern(std::string&& str); const std::string* getEmptyString(); };