From -6587166729392286133
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,9384bfc667402a91
X-Google-Attributes: gidf78e5,public
X-Google-ArrivalTime: 2004-03-14 10:23:21 PST
Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!syros.belnet.be!news.belnet.be!colt.net!kibo.news.demon.net!mutlu.news.demon.net!demon!mail2news.demon.co.uk!devnull
From: kuyper@wizard.net (James Kuyper)
Newsgroups: comp.std.c++
Subject: Re: Vector should be used by default?
Date: Sun, 14 Mar 2004 18:23:19 +0000 (UTC)
Organization: http://groups.google.com
Lines: 44
Approved: fjh@cs.mu.oz.au (Fergus Henderson , moderator of comp.std.c++)
Message-ID: <8b42afac.0403140836.11d6064d@posting.google.com>
References: <c2lq2i$m3m$1@news.kreonet.re.kr> <slrnc4uf1k.okv.do-not-spam-benh@shadbolt.i.decadentplace.org.uk> <c2urmb$8gj$1@news.kreonet.re.kr> <3tn650l2s8a5gmekrbibasb4q0ernf2lmk@4ax.com> <c30ttc$q8v$1@news.kreonet.re.kr>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: mail2news.demon.co.uk 1079288599 5626 10.0.0.1 (14 Mar 2004 18:23:19 GMT)
X-Complaints-To: abuse@demon.net
NNTP-Posting-Date: Sun, 14 Mar 2004 18:23:19 +0000 (UTC)
X-Received: from mulga.cs.mu.oz.au ([128.250.1.22])
	by news.demon.co.uk with esmtp (Exim 4.12)
	id 1B2aGc-0001Sb-00
	for mail2news@news.news.demon.net; Sun, 14 Mar 2004 18:23:18 +0000
X-Received: from mulga.cs.mu.OZ.AU (localhost [127.0.0.1]) by mulga.cs.mu.OZ.AU with ESMTP
	id i2EINGi2006018; Mon, 15 Mar 2004 05:23:16 +1100 (EST)
X-Received: (from fjh@localhost)
	by mulga.cs.mu.OZ.AU (8.12.10+Sun/8.12.9/Submit) id i2EINGIQ006009;
	Mon, 15 Mar 2004 05:23:16 +1100 (EST)
X-Authentication-Warning: mulga.cs.mu.OZ.AU: fjh set sender to devnull@stump.algebra.com using -f
X-Path: comp-std-cpp-robomod!not-for-mail
X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov)
X-Delivered-To: std-c++@ucar.edu
X-Newsgroups: comp.std.c++
X-NNTP-Posting-Date: Sun, 14 Mar 2004 16:36:41 +0000 (UTC)
X-Spam-Checker-Version: SpamAssassin 2.60-mulga_r1 (1.212-2003-09-23-exp) on 
	mulga.cs.mu.OZ.AU
X-Spam-Status: No, hits=0.1 required=5.2 tests=AWL autolearn=no 
	version=2.60-mulga_r1
Xref: archiver1.google.com comp.std.c++:1327

stkim@yujinrobot.com ("Kim, Seungtai") wrote in message news:<c30ttc$q8v$1@news.kreonet.re.kr>...
> "Gennaro Prota" <gennaro_prota@yahoo.com>
> > stkim@yujinrobot.com ("Kim, Seungtai") wrote:
> >
> > >How can I infer that the statements is just a guide?
> >
> > By ISO rules :) See the ISO Drafting Directives at:
> >
> >   http://anubis.dkuug.dk/JTC1/SC22/WG9/isodir3.pdf
> 
> Thanks.
> 
> 2nd question:
> 
> Why the Standard has the coding guide(or design guide)?
> Is it needed for descriding the vector? Or it helps the developer or
> program?
> What the purpose..?

Strictly speaking, it is not needed, because it says something that a
sufficiently bright reader could figure out just from reading the
detailed specifications for each of the standard sequences. However,
it's useful, because it saves the reader from having to figure that
out, and helps the reader place the detailed specifications in
context. Also, knowing what the purposes of the different standard
sequences were can help implementors figure out how to resolve design
choices that are not directly addressed by the details of the
specifications themselves.

> All the other part of the Standard has not such a kind describing. For exam,
> there is no guideline for the Template usage.
> 
> Why describing the container parts only has the guideline?

I suspect that it is not the only part containing sentences that
provide guidelines for the usage of various features of the language
and the libraries.

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html                       ]



