add spaces for PICout operators

This commit is contained in:
2025-02-27 21:26:29 +03:00
parent 8e96750046
commit 4340f5444d
5 changed files with 15 additions and 0 deletions

View File

@@ -154,6 +154,7 @@ public:
//! \~russian Перегруженный оператор для вывода координат в \a PICout.
template<typename Type>
PICout operator<<(PICout & s, const PIPoint<Type> & v) {
s.space();
s.saveAndSetControls(0);
s << "Point{" << v.x << ", " << v.y << "}";
s.restoreControls();