]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/hashcomp.h
Update documentation in hashcomp.h
[user/henk/code/inspircd.git] / include / hashcomp.h
index 8856d81bbcfa7c8e1e93f900397deb0a43d84015..f3b1ba6e99275614b74546cee9dc60c2ab49c420 100644 (file)
  * treat [ identical to {, ] identical to }, and \
  * as identical to |.
  *
- * Our hashing functions are designed  to accept
- * std::string and compare/hash them as type irc::string
- * by converting them internally. This makes them
- * backwards compatible with other code which is not
- * aware of irc::string.
+ * There are functors that accept std::string and
+ * compare/hash them as type irc::string by using
+ * mapping arrays internally.
  *******************************************************/
 
 /** Seperate from the other casemap tables so that code *can* still exclusively rely on RFC casemapping
@@ -74,7 +72,6 @@ CoreExport extern unsigned const char rfc_case_sensitive_map[256];
  */
 namespace irc
 {
-
        /** Check if two IRC object (e.g. nick or channel) names are equal.
         * This function uses national_case_insensitive_map to determine equality, which, by default does comparison
         * according to RFC 1459, treating certain otherwise non-identical characters as identical.
@@ -159,14 +156,15 @@ namespace irc
 
        /** Joins the contents of a vector to a string.
         * @param sequence Zero or more items to join.
-        * @separator The character to place between the items.
+        * @param separator The character to place between the items, defaults to ' ' (space).
+        * @return Joined string.
         */
        std::string CoreExport stringjoiner(const std::vector<std::string>& sequence, char separator = ' ');
 
        /** irc::sepstream allows for splitting token seperated lists.
         * Each successive call to sepstream::GetToken() returns
         * the next token, until none remain, at which point the method returns
-        * an empty string.
+        * false.
         */
        class CoreExport sepstream
        {