diff options
Diffstat (limited to 'include/hashcomp.h')
-rw-r--r-- | include/hashcomp.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/hashcomp.h b/include/hashcomp.h index 8e077a732..3aa838da2 100644 --- a/include/hashcomp.h +++ b/include/hashcomp.h @@ -129,4 +129,11 @@ namespace irc typedef basic_string<char, irc_char_traits, allocator<char> > string; } +/* Define operators for using >> and << with irc::string to an ostream on an istream. */ +/* This was endless fun. No. Really. */ +/* It was also the first core change Ommeh made, if anyone cares */ + +std::ostream& operator<<(std::ostream &os, const irc::string &str); +std::istream& operator>>(std::istream &is, irc::string &str); + #endif |