Line data Source code
1 : /** @file dim_iostream.hpp 2 : * 3 : * Author: Roland Conybeare 4 : **/ 5 : 6 : #pragma once 7 : 8 : #include "dimension.hpp" 9 : #include <iostream> 10 : 11 : namespace xo { 12 : namespace qty { 13 : inline std::ostream & 14 27 : operator<<(std::ostream & os, dim x) { 15 27 : os << dim2str(x); 16 27 : return os; 17 : } 18 : } /*namespace qty*/ 19 : } /*namespace xo*/ 20 : 21 : /** end dim_iostream.hpp **/