]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/hashcomp.h
Config file example is wrong
[user/henk/code/inspircd.git] / include / hashcomp.h
index 8e077a732a7383f8d80baa0a589b7e6e0a303f81..3aa838da2f93c52e0233c970c801344098b93143 100644 (file)
@@ -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