mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-27 15:04:33 +00:00
Add char_traits stub class to <string>
This commit is contained in:
parent
464022a61d
commit
be80b52543
@ -700,4 +700,17 @@ namespace std
|
||||
return iterator(this->Data + this->Length);
|
||||
}
|
||||
};
|
||||
|
||||
template <class CharT>
|
||||
class char_traits
|
||||
{
|
||||
public:
|
||||
static size_t length(const CharT *s)
|
||||
{
|
||||
size_t len = 0;
|
||||
while (s[len] != 0)
|
||||
len++;
|
||||
return len;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user