diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2019-02-23 21:09:30 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2019-02-23 21:09:30 +0100 |
commit | 1b71eb8175de976045406035420f62c79a2fc91e (patch) | |
tree | a3c5bcd98b50628fbb7ca735bf810f5c30900e3a /strbuf.h | |
parent | Even more work. (diff) | |
download | calp-1b71eb8175de976045406035420f62c79a2fc91e.tar.gz calp-1b71eb8175de976045406035420f62c79a2fc91e.tar.xz |
Vill inte.
Diffstat (limited to 'strbuf.h')
-rw-r--r-- | strbuf.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1,6 +1,8 @@ #ifndef STRBUF_H #define STRBUF_H +#include <iostream> + #include <stdlib.h> #include "macro.h" @@ -33,8 +35,11 @@ struct strbuf { { return ! (*this == other); } bool operator!=(const char* other) { return ! (*this == other); } + }; +std::ostream& operator<<(std::ostream&, strbuf&); + /* * Init strbuf to size of 0 * Doesnt't call malloc. |