Cleanup: Improve IOStream operators
mikaelpatel opened this issue · 0 comments
mikaelpatel commented
Use template function to reduce code size.
template <class T> inline IOStream& operator<<(IOStream &ios, const T &val)
{
ios.print(val);
return (ios);
}