Re: string v.s. basic_string



Hi George!

I would like to learn some experiences about when should we use std::basic_string and when should we use std::string?

I learned some Hello World level samples and now want to listen to your practical experiences. :-)

In "windows-world" you should always use basic_string:

typedef tstring std::basic_string<TCHAR>;

--
Greetings
Jochen

My blog about Win32 and .NET
http://blog.kalmbachnet.de/
.



Relevant Pages

  • Re: New For Loop Syntax (for each)
    ... universe than C#. ... available in D9 for Win32 as well as .NET. ... Read Jake's Blog at http://blogs.slcdug.org/jjacobson/ ...
    (borland.public.delphi.non-technical)
  • Re: Send file to Windows recycle bin
    ... Only win32 calls. ... - Sahil Malik ... You can reach me thru my blog http://www.dotnetjunkies.com/weblog/sahilmalik ... > One option is to use SHFileOperation shell API function. ...
    (microsoft.public.dotnet.framework)
  • Re: How to get the ID of a dialog?
    ... I do recall reading the blog when it was posted but its hard to believe it ... will not work even in Win32. ... Replace _year_ with _ to get the real email ...
    (microsoft.public.vc.mfc)
  • Re: VS 2005 C++ Resources
    ... > Hi Kris! ... >>> My blog about Win32 and .NET ... Prev by Date: ...
    (microsoft.public.vc.language)
  • Re: C++ 5.0 Hilfesystem in XP SP2
    ... > My blog about Win32 and .NET ... ganz herzlichen Dank. ... Schließe mich voll den Lobeshymnen an. ...
    (microsoft.public.de.vc)