From 763348069509593226
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,8deb6f8d7372d4a3,start
X-Google-Attributes: gidf78e5,public
X-Google-ArrivalTime: 2004-04-07 17:10:13 PST
Path: archiver1.google.com!news1.google.com!news.glorb.com!newsrout1.ntli.net!news.ntli.net!kibo.news.demon.net!mutlu.news.demon.net!demon!mail2news.demon.co.uk!devnull
From: c141592653589@hotmail.com (MJ)
Newsgroups: comp.std.c++
Subject: "explicit class" (proposal N1582)
Date: Thu, 8 Apr 2004 00:10:12 +0000 (UTC)
Organization: http://groups.google.com
Lines: 26
Approved: fjh@cs.mu.oz.au (Fergus Henderson , moderator of comp.std.c++)
Message-ID: <423c153c.0404070224.bd836ab@posting.google.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: mail2news.demon.co.uk 1081383012 22888 10.0.0.1 (8 Apr 2004 00:10:12 GMT)
X-Complaints-To: abuse@demon.net
NNTP-Posting-Date: Thu, 8 Apr 2004 00:10:12 +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 1BBN7T-0005x1-00
	for mail2news@news.news.demon.net; Thu, 08 Apr 2004 00:10:11 +0000
X-Received: from mulga.cs.mu.OZ.AU (localhost [127.0.0.1]) by mulga.cs.mu.OZ.AU with ESMTP
	id i380A9i2020873; Thu, 8 Apr 2004 10:10:09 +1000 (EST)
X-Received: (from fjh@localhost)
	by mulga.cs.mu.OZ.AU (8.12.10+Sun/8.12.9/Submit) id i380A9eM020864;
	Thu, 8 Apr 2004 10:10:09 +1000 (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: Wed, 7 Apr 2004 10:24:18 +0000 (UTC)
X-Spam-Level: ***
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=3.1 required=5.2 tests=ADDR_NUMS_AT_BIGSITE,
	FORGED_HOTMAIL_RCVD2,FROM_ENDS_IN_NUMS,FROM_WEBMAIL_END_NUMS6 
	autolearn=no version=2.60-mulga_r1
Xref: archiver1.google.com comp.std.c++:1566

Proposal N1582 suggests to disable the automatic generation of the
following functions:

- default constructor
- copy constructor
- copy assignment operator
- destructor

I didn't find anything about the address operator. Is the address
operator function also supposed to be disabled in an "explicit class"?

Furthermore, in an "explicit class" I would expect that the implicit
conversion for constructors is turned off (as if the constructors were
declared as "explicit"). Are constructors in an "explicit class"
implicitly declared as explicit?


Cheers,
Michael

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



