Ejemplo n.º 1
0
ON_wString::ON_wString(const ON_wString& src)
{
	if (    src.Header()->ref_count > 0 
       )	
  {
		m_s = src.m_s;
    src.Header()->ref_count++;
	}
	else 
  {
		Create();
		*this = src.m_s; // use operator=(const wchar_t*) to copy
	}
}