libmisc: Added empty_perm_string.
This commit is contained in:
parent
72ff9ac00b
commit
feccae56bf
|
|
@ -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("");
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue