nsTSubstring_CharT::Assign( const abstract_string_type& readable ) {  if (readable.mVTable == nsTObsoleteAString_CharT::sCanonicalVTable) Assign(*readable.AsSubstring()); else Assign(readable.ToSubstring()); }
void Assign( char_type c )                                                                { Assign(&c, 1); }
nsTSubstring_CharT::Assign( const abstract_string_type& readable )  {      // promote to string if possible to take advantage of sharing    if (readable.mVTable == nsTObsoleteAString_CharT::sCanonicalVTable)      Assign(*readable.AsSubstring());    else      Assign(readable.ToSubstring());  }