From: Rolf Magnus Newsgroups: comp.lang.c++,comp.os.msdos.djgpp,gnu.g++.help Subject: Re: Problem with basic_string Followup-To: comp.lang.c++ Date: Sat, 04 Jan 2003 16:04:27 +0100 Organization: T-Online Lines: 25 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: news.t-online.com 1041690626 07 32697 2CaCE5+XbSayoV 030104 14:30:26 X-Complaints-To: abuse AT t-online DOT com X-Sender: 520083208048-0001 AT t-dialin DOT net X-Fud-Of-The-Day: http://www.microsoft.com/windows/Embedded/sak/evaluation/compare/advantage.asp X-Newsreader: GNU Outlook Express 0.00.0000.0001 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Alex Vinokur wrote: >> > >> > int main () >> > { >> > basic_string bs1; >> >> I'm sure you were intended basic_string bs1; > > I intended exactly basic_string bs1; Could you explain why and how you'd want to use a string of strings? Or better, just explain what you want to achieve. > basic_string is a template class. That it's a template doesn't mean that it makes sense (or is possible at all) to instantiate it for every type. > So, I would like to basic_string, basic_string, > basic_string Why?