From: Ales DOLECEK Newsgroups: comp.lang.c++,comp.os.msdos.djgpp,gnu.g++.help Subject: Re: Problem with basic_string Date: Sat, 4 Jan 2003 15:07:39 +0100 Organization: MISTRAL news Lines: 22 Message-ID: <20030104150739.6e14a3d0.ales_d@seznam.cz> References: NNTP-Posting-Host: r2w69.mistral.cz Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: mrazik2.dkm.cz 1041689260 23236 62.245.86.69 (4 Jan 2003 14:07:40 GMT) X-Complaints-To: news AT mrazik2 DOT dkm DOT cz NNTP-Posting-Date: Sat, 4 Jan 2003 14:07:40 +0000 (UTC) X-Newsreader: Sylpheed version 0.8.8claws (GTK+ 1.2.10; i586-pc-linux-gnu) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Sat, 4 Jan 2003 15:56:55 +0200 "Alex Vinokur" wrote: > I intended exactly basic_string bs1; > > basic_string is a template class. > So, I would like to basic_string, basic_string, > basic_string Here is what STL says about basic_string: The basic_string class represents a Sequence of characters. It contains all the usual operations of a Sequence, and, additionally, it contains standard string operations such as search and concatenation. !! HERE !! vvvvvvvvvvvvvv The basic_string class is parameterized by character type, and by that type's Character Traits. Most of the time, however, there is no need to use the basic_string template directly. The types string and wstring are typedefs for, respectively, basic_string and basic_string.