#pragma once #include #include #include class TextTable { public: explicit TextTable(const std::vector& headers); void addRow(const std::vector& cells); std::size_t rowCount() const; std::string render() const; private: std::vector headers_; std::vector> rows_; };