geom/ray: forward declare ostream operator

may be required for CHECK_SANITY
This commit is contained in:
Danny Robson 2018-04-16 16:44:26 +10:00
parent 675969936e
commit f7a9dc598f

View File

@ -22,6 +22,8 @@
#include "../vector.hpp" #include "../vector.hpp"
#include "../point.hpp" #include "../point.hpp"
#include <iosfwd>
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
namespace util::geom { namespace util::geom {
@ -117,6 +119,12 @@ namespace util::geom {
{ {
return distance (r, b) >= 0; return distance (r, b) >= 0;
} }
///////////////////////////////////////////////////////////////////////////
template <size_t S, typename T>
std::ostream&
operator<< (std::ostream&, ray<S,T>);
} }
#endif #endif