From -7160822565494088690
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,924f354765fe932a
X-Google-Attributes: gidf78e5,public
X-Google-ArrivalTime: 2002-05-17 13:13:01 PST
Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!kibo.news.demon.net!news.demon.co.uk!demon!mail2news.demon.co.uk!not-for-mail
From: Francis Glassborow <francis.glassborow@ntlworld.com>
Newsgroups: comp.std.c++
Subject: Re: constructor calls in vectors
Date: Fri, 17 May 2002 20:12:20 GMT
Organization: Southfield Microcomputer SS
Approved: Fergus Henderson <fjh@cs.mu.oz.au>, moderator of comp.std.c++
Message-ID: <M+oC2GBMfV58EwzI@robinton.demon.co.uk>
References: <ac1iu6$222i$1@agate.berkeley.edu> <3CE543B6.1040209@acm.org>
Reply-To: Francis Glassborow <francisG@robinton.demon.co.uk>
X-Trace: mail2news.demon.co.uk 1021666345 mail2news:9958 mail2news mail2news.demon.co.uk
X-Complaints-To: abuse@demon.net
X-Mail2News-Path: news.demon.net!mulga.cs.mu.oz.au
X-Authentication-Warning: mulga.cs.mu.OZ.AU: fjh set sender to devnull@stump.algebra.com using -f
X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov)
MIME-Version: 1.0
Content-Type: text/plain;charset=us-ascii;format=flowed
User-Agent: Turnpike/6.01-U (<TilyaeicE$WmMOP9F8P4$y3lmP>)
Lines: 22
Xref: archiver1.google.com comp.std.c++:11350

In article <3CE543B6.1040209@acm.org>, James Dennett <jdennett@acm.org> 
writes
>The standard behaviour is to use the copy constructor to initialize
>the elements of the vector.  Any library that uses the default
>constructor repeatedly is non-conforming.

While I know that is the normal behaviour, where does the standard 
require it?


-- 
Francis Glassborow      ACCU
64 Southfield Rd
Oxford OX4 1PA          +44(0)1865 246490
All opinions are mine and do not represent those of any organisation

---
[ 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                       ]



