mirror of https://github.com/libAthena/athena.git
Add operator>> to IStreamWriter.hpp
This commit is contained in:
parent
069840a77e
commit
a753c2e38a
|
@ -1064,6 +1064,13 @@ public:
|
||||||
protected:
|
protected:
|
||||||
Endian m_endian;
|
Endian m_endian;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
template <typename T>
|
||||||
|
IStreamWriter& operator<<(IStreamWriter& lhs, const T& rhs)
|
||||||
|
{
|
||||||
|
lhs.writeVal<T>(rhs);
|
||||||
|
return lhs;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // STREAMWRITER_HPP
|
#endif // STREAMWRITER_HPP
|
||||||
|
|
Loading…
Reference in New Issue