21 lines
374 B
C++
21 lines
374 B
C++
/** @file dim_iostream.hpp
|
|
*
|
|
* Author: Roland Conybeare
|
|
**/
|
|
|
|
#pragma once
|
|
|
|
#include "dim_util.hpp"
|
|
#include <iostream>
|
|
|
|
namespace xo {
|
|
namespace unit {
|
|
inline std::ostream &
|
|
operator<<(std::ostream & os, dim x) {
|
|
os << dim2str(x);
|
|
return os;
|
|
}
|
|
} /*namespace unit*/
|
|
} /*namespace xo*/
|
|
|
|
/** end dim_iostream.hpp **/
|