[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[TSVN] CString vs std::string

From: Will Dean <svn_at_indcomp.co.uk>
Date: 2004-12-22 11:35:27 CET

Hi,

The shell extension (and others?) use std::string rather than the MFC/ATL
CString. Does anyone know the rationale for this?

I was wondering if we could get rid of std::string, and just include
<atlstr.h> to get CString in the shell extension.

I know that pre-VC7 CString implied 'lots of MFC', which we might not want
for a shell extension, but now that one can get it on its own from ATL,
there isn't the same penalty.

I've nothing against std::string, but it would be nice not to have an extra
string class, and the duplicates of some of the UTF8 functions.

Cheers,

Will

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Dec 22 11:36:20 2004

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.