Export (0) Print
Expand All

CStringT::MakeReverse

Reverses the order of the characters in the CStringT object.

CStringT& MakeReverse();

The resulting reversed string.

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

CAtlString s(_T("abc"));

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

Header: cstringt.h

Show:
© 2014 Microsoft