Beispiel #1
0
SimpleString::SimpleString(SimpleString& str)
{
	if (this != &str)
	{
		Assign(str.c_str());
	}

}
Beispiel #2
0
bool SimpleString::operator==(const SimpleString &str) const
{
	if (str.Size() != size_)
	{
		return false;
	}

	if (0 != strcmp(string_, str.c_str()))
	{
		return false;
	}

	return true;
}