19 lines
313 B
C++
19 lines
313 B
C++
#ifndef GEOMETRIES_IO_HPP
|
|
#define GEOMETRIES_IO_HPP
|
|
|
|
#include "libnest2d.hpp"
|
|
|
|
#include <ostream>
|
|
|
|
namespace libnest2d {
|
|
|
|
template<class RawShape>
|
|
std::ostream& operator<<(std::ostream& stream, const _Item<RawShape>& sh) {
|
|
stream << sh.toString() << "\n";
|
|
return stream;
|
|
}
|
|
|
|
}
|
|
|
|
#endif // GEOMETRIES_IO_HPP
|