diff --git a/include/Athena/IStreamWriter.hpp b/include/Athena/IStreamWriter.hpp index ff1f214..dd85377 100644 --- a/include/Athena/IStreamWriter.hpp +++ b/include/Athena/IStreamWriter.hpp @@ -1064,6 +1064,13 @@ public: protected: Endian m_endian; }; + +template +IStreamWriter& operator<<(IStreamWriter& lhs, const T& rhs) +{ + lhs.writeVal(rhs); + return lhs; +} } } #endif // STREAMWRITER_HPP