#pragma once #include struct CoordT { public: CoordT(size_t newx, size_t newy) : x{newx}, y{newy}{}; size_t X() const; size_t Row() const; size_t Y() const; size_t Col() const; size_t x,y; }; std::ostream & operator << (std::ostream & s, const CoordT & other);