#pragma once #include class WordCounterT{ public: WordCounterT(); WordCounterT(std::string newWord); std::string GetWord() const; int GetCount() const; bool operator == (const WordCounterT & other) const; WordCounterT & operator ++(); WordCounterT operator ++(int); private: std::string word; int count{0}; }; std::ostream & operator << (std::ostream & s, const WordCounterT & word);