From b5bc73e31026ee2087f0ceb5c7d9f99bf3c288a6 Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Thu, 19 Dec 2013 17:30:22 +0100 Subject: Add functor that does strict weak ordering based on national_case_insensitive_map --- include/hashcomp.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') diff --git a/include/hashcomp.h b/include/hashcomp.h index 0bf306267..de556f393 100644 --- a/include/hashcomp.h +++ b/include/hashcomp.h @@ -114,6 +114,11 @@ namespace irc size_t CoreExport operator()(const std::string &s) const; }; + struct insensitive_swo + { + bool CoreExport operator()(const std::string& a, const std::string& b) const; + }; + /** The irc_char_traits class is used for RFC-style comparison of strings. * This class is used to implement irc::string, a case-insensitive, RFC- * comparing string class. -- cgit v1.3.1-10-gc9f91