CStringT::MakeUpper

Converts the CStringT object to an uppercase string.

CStringT& MakeUpper();

The resulting uppercase string.

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

CAtlString s(_T("abc"));

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

Header: cstringt.h

Show: