From cf31570dffa4ebfbb5544f5a5ccdcbae559fb524 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 24 Sep 2018 15:30:18 +0200 Subject: outputstream: Add << for float and double --- include/object/outputstream.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/object/outputstream.h') diff --git a/include/object/outputstream.h b/include/object/outputstream.h index 4a37977..70ebece 100644 --- a/include/object/outputstream.h +++ b/include/object/outputstream.h @@ -35,6 +35,8 @@ class OutputStream { OutputStream & operator<<(long long number); OutputStream & operator<<(void *pointer); OutputStream & operator<<(const char *text); + OutputStream & operator<<(float number); + OutputStream & operator<<(double number); OutputStream & operator<<(OutputStream & (*fun) (OutputStream &)); void setBase(uint8_t b); -- cgit v1.2.3