Make CTL definitions less ambiguous

This commit is contained in:
Justine Tunney 2024-07-01 03:48:28 -07:00
parent 239f8ce76e
commit acbabedf27
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
30 changed files with 176 additions and 173 deletions

View file

@ -26,19 +26,19 @@ istringstream::istringstream() : buffer_(), read_pos_(0)
{
}
istringstream::istringstream(const string_view& str)
istringstream::istringstream(const ctl::string_view& str)
: buffer_(str), read_pos_(0)
{
}
string
ctl::string
istringstream::str() const
{
return buffer_;
}
void
istringstream::str(const string& s)
istringstream::str(const ctl::string& s)
{
buffer_ = s;
read_pos_ = 0;
@ -82,7 +82,7 @@ istringstream::operator>>(char* s)
}
istringstream&
istringstream::operator>>(string& s)
istringstream::operator>>(ctl::string& s)
{
if (!good())
return *this;