Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.Hawaii.Edu!news.lava.net!news-w.ans.net!newsfeeds.ans.net!philabs!blanket.mitre.org!news.mathworks.com!rill.news.pipex.net!pipex!dispatch.news.demon.net!demon!erlenstar.demon.co.uk!erlenstar.demon.co.uk!not-for-mail From: Andrew Gierth <andrew@erlenstar.demon.co.uk> Newsgroups: comp.unix.solaris,comp.unix.aix,comp.unix.bsd,comp.unix.sco.programmer,comp.unix.programmer,comp.unix.programmer,comp.unix.ultrix,comp.unix.questions,comp.lang.c++ Subject: Re: CString on UNIX Date: 28 Mar 1997 13:51:20 +0000 Organization: disorganised Distribution: inet Message-ID: <87lo785dlz.fsf@erlenstar.demon.co.uk> References: <859262963.14357@dejanews.com> <5hch2a$7m8@tor-nn1-hb0.netcom.ca> <5he56g$5e6@panix.com> <5hfj1l$ej3@tor-nn1-hb0.netcom.ca> NNTP-Posting-Host: localhost X-NNTP-Posting-Host: erlenstar.demon.co.uk Cc: variable@netcom.ca (Chris McKillop) X-Mayan-Date: Long count = 12.19.4.0.11; tzolkin = 1 Chuen; haab = 14 Cumku X-Attribution: AG X-Newsreader: Gnus v5.3/Emacs 19.34 Lines: 38 Xref: euryale.cc.adfa.oz.au comp.unix.solaris:101536 comp.unix.aix:96777 comp.unix.bsd:16878 comp.unix.sco.programmer:5922 comp.unix.programmer:51965 comp.unix.ultrix:28662 comp.unix.questions:97485 comp.lang.c++:228119 >>>>> "Chris" == Chris McKillop <variable@netcom.ca> writes: Chris> I don't like posting things that aren't totally correct, and Chris> now I will be sure not to add string as part of the STL. My Chris> own confusion comes from the fact that string uses iterators Chris> in most implementations I have used. Are there any other data Chris> containers that have been STLified in the C++ stdlib? Now Chris> that I think about it, string really isn't a template now is Chris> it? :) Er, actually it *is* a template: typedef basic_string<char> string; There is also wstring (a string of wchar_t), and I've found it useful, on occasion, to instantiate basic_string<unsigned char>. Of course, builtin arrays can also be treated as containers (using pointers as iterators). In any case, there is nothing referred to in the draft standard as "STL"; there is only the Standard Library, consisting of: 18: Language support library 19: Diagnostics library 20: General utilities library 21: Strings library 22: Localization library 23: Containers library 24: Iterators library 25: Algorithms library 26: Numerics library 27: Input/output library -- Andrew. comp.unix.programmer FAQ: see <URL: http://www.erlenstar.demon.co.uk/unix/>