From 3682356868766492116
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,a615cd43626d4d92
X-Google-Attributes: gidf78e5,public
X-Google-ArrivalTime: 2004-03-24 01:14:20 PST
Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!kibo.news.demon.net!mutlu.news.demon.net!demon!mail2news.demon.co.uk!devnull
From: gennaro_prota@yahoo.com (Gennaro Prota)
Newsgroups: comp.std.c++
Subject: Re: Proposal for a <stdfwd> header
Date: Wed, 24 Mar 2004 09:14:18 +0000 (UTC)
Organization: [Infostrada]
Lines: 30
Approved: fjh@cs.mu.oz.au (Fergus Henderson , moderator of comp.std.c++)
Message-ID: <dqpl50t17gq852tc03qgpohk143k2spim4@4ax.com>
References: <d522680b.0403151302.6f276691@posting.google.com> <Fqt5c.20332$Fh4.9967@twister.nyroc.rr.com> <c3bni4$f5a$1@newshispeed.ch>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: mail2news.demon.co.uk 1080119658 26238 10.0.0.1 (24 Mar 2004 09:14:18 GMT)
X-Complaints-To: abuse@demon.net
NNTP-Posting-Date: Wed, 24 Mar 2004 09:14:18 +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 1B64Sn-0006om-00
	for mail2news@news.news.demon.net; Wed, 24 Mar 2004 09:14:18 +0000
X-Received: from mulga.cs.mu.OZ.AU (localhost [127.0.0.1]) by mulga.cs.mu.OZ.AU with ESMTP
	id i2O9EGi2024561; Wed, 24 Mar 2004 20:14:16 +1100 (EST)
X-Received: (from fjh@localhost)
	by mulga.cs.mu.OZ.AU (8.12.10+Sun/8.12.9/Submit) id i2O9EFp9024551;
	Wed, 24 Mar 2004 20:14:15 +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-Newsreader: Forte Agent 1.93/32.576 English (American)
X-NNTP-Posting-Date: Fri, 19 Mar 2004 13:48:52 MET
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.4 required=5.2 tests=AWL,FORGED_YAHOO_RCVD 
	autolearn=no version=2.60-mulga_r1
Xref: archiver1.google.com comp.std.c++:1375

On Fri, 19 Mar 2004 01:12:38 +0000 (UTC),
please_use_webform@vecerina.com ("Ivan Vecerina") wrote:

>It is easy to do, but it cannot be done for standard classes,
>because mere users cannot make all required assumptions about
>the default parameters of standard templates (or even IIRC
>about the potential additional parameters).

There was a school of thought that believed implementations can add
defaulted parameters (as SGI and its derivations used to do for
std::bitset). But the committee clarified that this is illegal:

http://anubis.dkuug.dk/jtc1/sc22/wg21/docs/lwg-closed.html#94

The problems that still exist are that a) adding declarations of
standard classes to namespace std results in undefined behavior if the
declarations do not depend on a user-defined name with external
linkage b) default arguments for template parameters cannot be given
twice in the same scope.


--
Genny.

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



