2026-08-11 17:40:36 +03:00
|
|
|
#include "custom_formatter.hpp"
|
|
|
|
|
|
|
|
|
|
namespace cpp26 {
|
|
|
|
|
|
|
|
|
|
auto format_point(const Point& point) -> std::string {
|
2026-08-24 19:33:30 +03:00
|
|
|
return std::format("{}", point);
|
2026-08-11 17:40:36 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
auto format_points(const Point& a, const Point& b) -> std::string {
|
2026-08-24 19:33:30 +03:00
|
|
|
return std::format("{} -> {}", a, b);
|
2026-08-11 17:40:36 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
} // namespace cpp26
|