Share via


CStringT::MakeUpper

Converts the CStringT object to an uppercase string.

CStringT& MakeUpper();

Return Value

The resulting uppercase string.

Example

// typedef CStringT<TCHAR, StrTraitATL<TCHAR, ChTraitsCRT<TCHAR>>> CAtlString;

CAtlString s(_T("abc"));

ASSERT(s.MakeUpper() == _T("ABC"));   

Requirements

Header: cstringt.h

See Also

Reference

CStringT Class

Other Resources

CStringT Members

Change History

Date

History

Reason

April 2011

Removed incorrect return value description.

Customer feedback.