🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c++
Article #3253

Const and Non-Const Constructors

#3253
From: Scott Meyers
Date: Tue, 06 Feb 1996 02:38
15 lines
1251 bytes
A few months ago there was a discussion of whether the language should be
extended so that const and non-const objects would have different
constructors, the idea being that initialization for a const object might
be different from initialization for a non-const object.  My understanding
is the committee has rejected that idea.  Could someone please post a
summary of the problems with the idea or point me to a place where I can
find them?

Thanks,

Scott
---
[ comp.std.c++ is moderated.  Submission address: std-c++@ncar.ucar.edu.
  Contact address: std-c++-request@ncar.ucar.edu.  The moderation policy
  is summarized in http://dogbert.lbl.gov/~matt/std-c++/policy.html. ]
Technical Details
Message-ID: <smeyersDMBEsy.5M8@netcom.com>
Path: arc1-ca.pugleaf.net!in2.uu.net!bounce-back

Show Full Headers
Complete Article Headers
From: smeyers@netcom.com (Scott Meyers)
Message-ID: <smeyersDMBEsy.5M8@netcom.com>
X-Original-Date: Mon, 5 Feb 1996 18:17:22 GMT
Path: arc1-ca.pugleaf.net!in2.uu.net!bounce-back
Date: 06 Feb 96 02:38:11 GMT
Approved: fjh@cs.mu.oz.au
Newsgroups: comp.std.c++
Subject: Const and Non-Const Constructors
Organization: NETCOM On-line Communication Services (408 261-4700 guest)
Apparently-To: comp-std-c++@uunet.uu.net
X-Auth: PGPMoose V1.1 PGP comp.std.c++
 iQBFAgUBMRa/H+EDnX0m9pzZAQEsFwF+MVu61bYiC9NnprXL2IT40sXsmaaufiqV
 NTpcsHHndi9zlPxxD5SnqA1XhwG69S4D
 =/slZ