예제 #1
0
	NarrowString    toUpper (const NarrowString & nstr)
	{
		NarrowString retval (nstr);
		std::transform (retval.begin (), retval.end (), retval.begin (), trueUpper);
		return retval;
	}
예제 #2
0
	NarrowString    toLower (const NarrowString & nstr)
	{
		NarrowString retval (nstr.c_str());
		std::transform (retval.begin (), retval.end (), retval.begin (), trueLower);
		return retval;
	}