matrix: ensure the required coord headers are included for our ostream

This commit is contained in:
Danny Robson 2019-11-04 16:49:24 +11:00
parent df9902a0b5
commit b479905b12

View File

@ -11,10 +11,8 @@
#include "point.hpp" #include "point.hpp"
#include "range.hpp" #include "range.hpp"
#include "vector.hpp" #include "vector.hpp"
#include "iterator/infix.hpp"
#include <cstdlib> #include <cstdlib>
#include <ostream>
namespace cruft { namespace cruft {
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
@ -530,8 +528,14 @@ namespace cruft {
typedef matrix<4,4,float> matrix4f; typedef matrix<4,4,float> matrix4f;
typedef matrix<4,4,double> matrix4d; typedef matrix<4,4,double> matrix4d;
}
#include "iterator/infix.hpp"
#include "coord/iostream.hpp"
#include <ostream>
namespace cruft {
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
template <std::size_t Rows, std::size_t Cols, typename T> template <std::size_t Rows, std::size_t Cols, typename T>
std::ostream& std::ostream&