Added missing overload.

This commit is contained in:
Guillaume Melquiond 2010-03-27 15:26:29 +00:00
parent 6f02d54cd9
commit 30c60c8963

View file

@ -183,15 +183,20 @@ public:
{ return this->operator=(other.real_str_); }
proxy_string &operator=(bool);
proxy_string& operator=(const char *str)
{ real_str_ = str; return *this; }
proxy_string& operator=(const t_string &str)
{ real_str_ = str; return *this; }
proxy_string& operator=(const std::string &str)
{ 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)
{ real_str_ += str; return *this; }
proxy_string& operator+=(const t_string &str)
{ real_str_ += str; return *this; }
// t_string 'emulation' methods
bool empty() const { return real_str_.empty(); }