Added missing overload.
This commit is contained in:
parent
6f02d54cd9
commit
30c60c8963
1 changed files with 7 additions and 2 deletions
|
@ -183,15 +183,20 @@ public:
|
||||||
{ return this->operator=(other.real_str_); }
|
{ return this->operator=(other.real_str_); }
|
||||||
|
|
||||||
proxy_string &operator=(bool);
|
proxy_string &operator=(bool);
|
||||||
|
|
||||||
proxy_string& operator=(const char *str)
|
proxy_string& operator=(const char *str)
|
||||||
{ real_str_ = str; return *this; }
|
{ real_str_ = str; return *this; }
|
||||||
proxy_string& operator=(const t_string &str)
|
|
||||||
{ real_str_ = str; return *this; }
|
|
||||||
proxy_string& operator=(const std::string &str)
|
proxy_string& operator=(const std::string &str)
|
||||||
{ real_str_ = str; return *this; }
|
{ real_str_ = str; return *this; }
|
||||||
|
proxy_string& operator=(const t_string &str)
|
||||||
|
{ real_str_ = str; return *this; }
|
||||||
|
|
||||||
|
proxy_string& operator+=(const char *str)
|
||||||
|
{ real_str_ += str; return *this; }
|
||||||
proxy_string& operator+=(const std::string &str)
|
proxy_string& operator+=(const std::string &str)
|
||||||
{ real_str_ += str; return *this; }
|
{ real_str_ += str; return *this; }
|
||||||
|
proxy_string& operator+=(const t_string &str)
|
||||||
|
{ real_str_ += str; return *this; }
|
||||||
|
|
||||||
// t_string 'emulation' methods
|
// t_string 'emulation' methods
|
||||||
bool empty() const { return real_str_.empty(); }
|
bool empty() const { return real_str_.empty(); }
|
||||||
|
|
Loading…
Add table
Reference in a new issue