Friday, April 28, 2006

Finding correlations between the CString Family and the Standard String Family

If we were to draw a correlation between the CString Family and Standard String Classes, we would notice -
  1. CStringT as the equivalent of std::basic_string
  2. CStringA as the equivalent of std::string
  3. CStringW as the equivalent of std::wstring
However, the standard library itself doesn't contain a "CString" equivalent - one that can at best be - std::basic_string <TCHAR>

This makes CString (VS 7.x +) "cool".