From 5857124463278228558
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,a1681fbe736bf77b
X-Google-Attributes: gidf78e5,public
X-Google-ArrivalTime: 1994-06-07 04:56:54 PST
Newsgroups: comp.std.c++
Path: nntp.gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!agate!msuinfo!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!news
From: maxtal@physics.su.OZ.AU (John Max Skaller)
Subject: Re: Why do default arguments have to be at the end?
Message-ID: <CqzJBJ.FHG@ucc.su.OZ.AU>
Keywords: default, argument
Sender: news@ucc.su.OZ.AU
Nntp-Posting-Host: physics.su.oz.au
Organization: School of Physics, University of Sydney, Australia
References: <affrunti.770665780@orion.oac.uci.edu>
Date: Mon, 6 Jun 1994 17:02:06 GMT
Lines: 20

In article <affrunti.770665780@orion.oac.uci.edu> affrunti@orion.oac.uci.edu (Bob Affrunti) writes:
>I have a question for the guys writing the c++ standard.
>
>Why do default arguments have to follow the required arguments?
>

	See ARM p142, 8.2.6. Bjarne considered and rejected the idea,
I guess the committee doesnt want to argue with such a "style"
decision. Its not as if serious functionality is lost: there
are advantages and disadvantages and without a strong argument
to change things the status quo just remains.

[Other decisions like using <> for templates have serious
disadvantages for parsers and that one has been discussed,
but a change would break too much code]
--
        JOHN (MAX) SKALLER,         INTERNET:maxtal@suphys.physics.su.oz.au
	Maxtal Pty Ltd,		    CSERVE:10236.1703 
        6 MacKay St ASHFIELD,	    Mem: SA IT/9/22,SC22/WG21 
        NSW 2131, AUSTRALIA	    


