14 lines
282 B
C++
14 lines
282 B
C++
#include "custom_formatter.hpp"
|
|
|
|
namespace cpp26 {
|
|
|
|
auto format_point(const Point& point) -> std::string {
|
|
return std::format("{}", point);
|
|
}
|
|
|
|
auto format_points(const Point& a, const Point& b) -> std::string {
|
|
return std::format("{} -> {}", a, b);
|
|
}
|
|
|
|
} // namespace cpp26
|