Merge pull request #52 from Ecte86/patch-1

added standard c++ method c_str to opp::string that calls cstr method.
This commit is contained in:
drmortalwombat 2024-03-09 14:14:32 +01:00 committed by GitHub
commit 89ac4ee9b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -229,6 +229,10 @@ string & string::operator+=(char c)
return *this;
}
inline const char * string::c_str(void) const
{
return this->tocstr();
}
inline const char * string::tocstr(void) const
{