Article View: comp.std.c++
Article #3115basic_string<T>::npos
From: john (j.d.) hickin
Date: Fri, 26 Jan 1996 05:06
Date: Fri, 26 Jan 1996 05:06
18 lines
1355 bytes
1355 bytes
From the October draft (I think); the basic_string class interface has these declarations: typedef typename Allocator::size_type size_type; ... static const size_type npos = -1; It is my understanding that the Allocater::size_type should be an unsigned flavour. If this is indeed the case, are we to interpret nops as having the value (size_type)(-1) ? -- John Hickin Bell-Northern Research, Montreal, Quebec (514) 765-7924 hickin@bnr.ca --- [ comp.std.c++ is moderated. Submission address: std-c++@ncar.ucar.edu. Contact address: std-c++-request@ncar.ucar.edu. The moderation policy is summarized in http://dogbert.lbl.gov/~matt/std-c++/policy.html. ]
Technical Details
Message-ID:
<4e8r8a$9ir@bmtlh10.bnr.ca>Path:
arc1-ca.pugleaf.net!in1.uu.net!bounce-backShow Full Headers
Complete Article Headers
From: "john (j.d.) hickin" <hickin@bnr.ca> Message-ID: <4e8r8a$9ir@bmtlh10.bnr.ca> X-Original-Date: Thu, 25 Jan 1996 21:04:10 +0000 Path: arc1-ca.pugleaf.net!in1.uu.net!bounce-back Date: 26 Jan 96 05:06:06 GMT Approved: fjh@cs.mu.oz.au Subject: basic_string<T>::npos Newsgroups: comp.std.c++ Organization: Bell-Northern Research Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 1.1 (X11; I; HP-UX A.09.05 9000/715) X-Url: news:comp.std.c++ X-Auth: PGPMoose V1.1 PGP comp.std.c++ iQBFAgUBMQhhe+EDnX0m9pzZAQEvpAF+LWeVoEckj9zKvbIQ2eUN7pjyFBgW3jW8 k2+GE/R/6q0bTL4Kh2p8O/UdpLiPlMv3 =mDe0