From 0a4a3e085f162fb3d34da3522bca7e7eeb8847e9 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 19 Nov 2018 09:37:32 +0100 Subject: XDRStream: Support float/double --- include/object/xdrstream.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/object/xdrstream.h b/include/object/xdrstream.h index 497e143..55bef5b 100644 --- a/include/object/xdrstream.h +++ b/include/object/xdrstream.h @@ -27,6 +27,8 @@ class XDRStream { XDRStream & operator<<(int32_t number); XDRStream & operator<<(uint64_t number); XDRStream & operator<<(int64_t number); + XDRStream & operator<<(float number); + XDRStream & operator<<(double number); XDRStream & operator<<(char const *text); template XDRStream & operator<<(char const (&text)[TSize]); XDRStream & operator<<(XDRStream & (*fun) (XDRStream &)); -- cgit v1.2.3