Re: string v.s. basic_string
- From: George <George@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 20 Nov 2007 19:08:02 -0800
Thanks David!
regards,
George
"David Wilkinson" wrote:
George wrote:.
Hello everyone,
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. :-)
George:
std::string is just a typedef
namespace std
{
typedef basic_string<char> string;
typedef std::basic_string<wchar_t) wstring;
}
Normally you just use std::string or std::wstring.
--
David Wilkinson
Visual C++ MVP
- References:
- Re: string v.s. basic_string
- From: David Wilkinson
- Re: string v.s. basic_string
- Prev by Date: Re: seo softs on sales
- 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
|