From 9064997238480652266
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,5056bc953972b4f6,start
X-Google-Attributes: gidf78e5,public
X-Google-ArrivalTime: 2002-11-26 09:11:56 PST
Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!kibo.news.demon.net!mutlu.news.demon.net!demon!mail2news.demon.co.uk!devnull
From: cpdaniel@mvps.org ("Carl Daniel")
Newsgroups: comp.std.c++
Subject: Rationale for 7.1.2/6
Date: Tue, 26 Nov 2002 17:11:55 +0000 (UTC)
Organization: Prodigy Internet http://www.prodigy.com
Lines: 19
Approved: fjh@cs.mu.oz.au (Fergus Henderson , moderator of comp.std.c++)
Message-ID: <2ONE9.4412$sW.228339932@newssvr13.news.prodigy.com>
X-Trace: mail2news.demon.co.uk 1038330715 15854 10.0.0.1 (26 Nov 2002 17:11:55 GMT)
X-Complaints-To: abuse@demon.net
NNTP-Posting-Date: Tue, 26 Nov 2002 17:11:55 +0000 (UTC)
X-Received: from mulga.cs.mu.oz.au ([128.250.1.22])
	by news.demon.co.uk with esmtp (Exim 4.05)
	id 18GjFZ-00047Z-00
	for mail2news@news.news.demon.net; Tue, 26 Nov 2002 17:11:54 +0000
X-Received: from localhost (localhost [[UNIX: localhost]]) by mulga.cs.mu.OZ.AU
	id EAA03608; Wed, 27 Nov 2002 04:11:49 +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++@ncar.ucar.edu
X-Newsgroups: comp.std.c++
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-NNTP-Posting-Date: Tue, 26 Nov 2002 12:01:50 EST
X-UserInfo1: FKPO@MC@OXVSCWXYNCOF_W\@PJ_^PBQLGPQRZ\YIJYWZUYICD^RAQBKZQTZTX\_I[^G_KGFNON[ZOE_AZNVO^\XGGNTCIRPIJH[@RQKBXLRZ@CD^HKANYVW@RLGEZEJN@\_WZJBNZYYKVIOR]T]MNMG_Z[YVWSCH_Q[GPC_A@CARQVXDSDA^M]@DRVUM@RBM
X-Spam-Status: No, hits=1.7 required=5.0
	tests=INVALID_MSGID,NOSPAM_INC,PRIORITY_NO_NAME,SPAM_PHRASE_00_01
	version=2.41
X-Spam-Level: *
Xref: archiver1.google.com comp.std.c++:15504

7.1.2/6 says

"The explicit specifier shall be used only in declarations of constructors
within a class declaration; see
12.3.1."

Why?  In particular, it seems to me that it'd be useful to be able to apply
'explicit' to conversion operators (e.g. operator int()).

Is there some reason that explicit was so severely limited by definition?

-cd

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



