Ignore:
Timestamp:
Jul 17, 2003, 10:08:22 AM (18 years ago)
Author:
luba
Message:
  • String::fill(String&, size_t, size_t, wchar_t) method is corrected
File:
1 edited

Legend:

Unmodified
Added
Removed
  • to-imperative/trunk/runtime/rf_string.ih

    r887 r1019  
    1414  WString(_len)
    1515{}
     16
     17inline String::String (WString const& _s):
     18  Object(),
     19  WString(_s)
     20{}
     21
     22inline String& String::operator = (String const& _s) {
     23  if (this != &_s) {
     24    this->~String();
     25    new(this) String(_s);
     26  }
     27  return self;
     28}
     29
     30
    1631
    1732inline unsigned String::get_type () const
     
    3853
    3954
     55
    4056}
    4157
Note: See TracChangeset for help on using the changeset viewer.