git-subtree-dir: xo-unit git-subtree-mainline:e9ee6992cagit-subtree-split:b531e382c2
21 lines
373 B
C++
21 lines
373 B
C++
/** @file dim_iostream.hpp
|
|
*
|
|
* Author: Roland Conybeare
|
|
**/
|
|
|
|
#pragma once
|
|
|
|
#include "dimension.hpp"
|
|
#include <iostream>
|
|
|
|
namespace xo {
|
|
namespace qty {
|
|
inline std::ostream &
|
|
operator<<(std::ostream & os, dim x) {
|
|
os << dim2str(x);
|
|
return os;
|
|
}
|
|
} /*namespace qty*/
|
|
} /*namespace xo*/
|
|
|
|
/** end dim_iostream.hpp **/
|