libmisc: Added empty_perm_string.

This commit is contained in:
Maciej Suminski 2014-08-22 10:42:51 +02:00
parent 72ff9ac00b
commit feccae56bf
2 changed files with 3 additions and 0 deletions

View File

@ -210,3 +210,5 @@ ostream& operator << (ostream&out, perm_string that)
out << that.str();
return out;
}
const perm_string empty_perm_string = perm_string::literal("");

View File

@ -52,6 +52,7 @@ class perm_string {
const char*text_;
};
extern const perm_string empty_perm_string;
extern bool operator == (perm_string a, perm_string b);
extern bool operator == (perm_string a, const char* b);
extern bool operator != (perm_string a, perm_string b);