mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 14:58:30 +00:00
Add missing ctl::string append method
This commit is contained in:
parent
a120bc7149
commit
bd6630d62d
3 changed files with 16 additions and 1 deletions
|
@ -383,4 +383,10 @@ string::erase(const size_t pos, size_t count) noexcept
|
|||
return *this;
|
||||
}
|
||||
|
||||
void
|
||||
string::append(const ctl::string_view& s, size_t pos, size_t count) noexcept
|
||||
{
|
||||
append(s.substr(pos, count));
|
||||
}
|
||||
|
||||
} // namespace ctl
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue