Re: string v.s. basic_string
- From: "Jochen Kalmbach [MVP]" <nospam-Jochen.Kalmbach@xxxxxxxxx>
- Date: Tue, 20 Nov 2007 18:20:36 +0100
Hi Larry!
You shouldn't start anything with an underscore in light of 17.4.3.1.2 of the standard (and MSFT's own guidelines regarding identifier names at "file scope").
Of course... I forgot, sorry..
The use of "tstring" also isn't the issue it once was. Unicode is now pervasive enough that most can just rely on "wchar_t" instead. I still find it hard to do that personally however though the "_T()" macro and cousins has always been an eyesore.
It would be nice to have a compiler switch like "/stringliterals_as_unicode", then we could remove all _T macros and L prefixes ;)
--
Greetings
Jochen
My blog about Win32 and .NET
http://blog.kalmbachnet.de/
.
- Follow-Ups:
- Re: string v.s. basic_string
- From: Tim Roberts
- Re: string v.s. basic_string
- From: Giovanni Dicanio
- Re: string v.s. basic_string
- References:
- Re: string v.s. basic_string
- From: Jochen Kalmbach [MVP]
- Re: string v.s. basic_string
- From: Jochen Kalmbach [MVP]
- Re: string v.s. basic_string
- From: Larry Smith
- Re: string v.s. basic_string
- Prev by Date: Re: string v.s. basic_string
- Next by Date: Re: string v.s. basic_string
- Previous by thread: Re: string v.s. basic_string
- Next by thread: Re: string v.s. basic_string
- Index(es):
Relevant Pages
|
|