diff options
| author | Dennis Brentjes <d.brentjes@gmail.com> | 2016-06-23 18:07:42 +0200 |
|---|---|---|
| committer | Dennis Brentjes <d.brentjes@gmail.com> | 2016-06-23 18:07:42 +0200 |
| commit | a7bcede17b4c10e172c7877fc2ce89862dc454af (patch) | |
| tree | d89b8ff274d18d67d695c5f320a1d079e1bb26b6 /binparse/types.hpp | |
| parent | 0f2d7c9ed9dfa3716840fc112bd53e5ec6b6315b (diff) | |
| download | openwar-a7bcede17b4c10e172c7877fc2ce89862dc454af.tar.gz openwar-a7bcede17b4c10e172c7877fc2ce89862dc454af.tar.bz2 openwar-a7bcede17b4c10e172c7877fc2ce89862dc454af.zip | |
adds alot more binary parsing.
Diffstat (limited to 'binparse/types.hpp')
| -rw-r--r-- | binparse/types.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/binparse/types.hpp b/binparse/types.hpp index 9b6c4a6..d1b1910 100644 --- a/binparse/types.hpp +++ b/binparse/types.hpp @@ -17,6 +17,8 @@ BOOST_STRONG_TYPEDEF(uint16_t, Value16) BOOST_STRONG_TYPEDEF(uint32_t, Offset32) BOOST_STRONG_TYPEDEF(uint32_t, Value32) +BOOST_STRONG_TYPEDEF(std::string, PString8); + template <typename T> T operator+(T const lh, T const rh) { return T(0 + lh + rh); |
