Compartir a través de


CStringT::MakeReverse

Reverses the order of the characters in the CStringT object.

CStringT& MakeReverse();

Return Value

The resulting reversed string.

Example

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

CAtlString s(_T("abc"));

ASSERT(s.MakeReverse() == _T("cba"));   

Requirements

Header: cstringt.h

See Also

Reference

CStringT Class

Other Resources

CStringT Members