base: add 'String::operator!='

This commit is contained in:
Norman Feske 2014-10-01 12:42:44 +02:00
parent 46968c0015
commit a7fa0ccd06
1 changed files with 6 additions and 0 deletions

View File

@ -488,6 +488,12 @@ namespace Genode {
{
return strcmp(string(), other.string()) == 0;
}
template <size_t OTHER_CAPACITY>
bool operator != (String<OTHER_CAPACITY> const &other) const
{
return strcmp(string(), other.string()) != 0;
}
};
}