Skip to content

Instantly share code, notes, and snippets.

@j2doll
Created March 30, 2018 03:12
Show Gist options
  • Select an option

  • Save j2doll/015871de0a0065af5e66d7bd77cc2c7e to your computer and use it in GitHub Desktop.

Select an option

Save j2doll/015871de0a0065af5e66d7bd77cc2c7e to your computer and use it in GitHub Desktop.
CArchive Internal
template< typename BaseType, class StringTraits >
CArchive& CArchive::operator<<(const ATL::CStringT<BaseType, StringTraits>& str)
{
AfxWriteStringLength(*this, str.GetLength(), sizeof(BaseType) == sizeof(wchar_t));
Write(str, str.GetLength()*sizeof(BaseType));
return *this;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment