5 #include <msp/strings/lexicalcast.h>
11 Provides transparent string-to-hash conversion for faster comparison. An empty
12 string is guaranteed to have an id of 0.
20 Tag(const std::string &s);
22 std::string str() const;
24 bool operator<(Tag t) const { return id<t.id; }
25 bool operator==(Tag t) const { return id==t.id; }
26 bool operator!=(Tag t) const { return id!=t.id; }
29 void operator<<(LexicalConverter &, Tag);