Newsgroup: comp.lang.c++
Subject: Re: 4th bullet point in iso =?ISO-8859-1?Q?=A712=2E1_p5_does?= =?ISO-8859-1?Q?n=27t_make_sense_to_me?=
From: "Alf P. Steinbach" <alf.p.steinbach+usenet@...>
Date: Sat, 28 Dec 2013 20:16:06 +0100
On 28.12.2013 17:50, johnkalane@... wrote:
>
> As far as I can understand the "T()" in the expression "T() = default;" refers
> to the defaulted (= default) default constructor T(), as explained here
> http://stackoverflow.com/a/7469608/1042389.
Stack Overflow is IMO a very unreliable authority, a Herb Schildt-land.
On SO an answer is selected as correct by the generally least competent
to judge it, namely the OP who, by asking, has demonstrated a clear lack
of competence. And this is so for ALL selected answers on SO, including
my own answers, and answers to my own questions, of course.
Rather than rely on SO, just assume that the standard's own definition
in §8.4.2/4 is the relevant one for use of that term in the standard:
* "Explicitly-defaulted functions and implicitly-declared functions are
collectively called /defaulted functions/, and the implementation shall
provide implicit definitions for them (12.1 12.4, 12.8), which might
mean defining them as deleted"
About your original question I'm less sure, but it does look like either
compiler bugs or a defect in the standard, or perhaps both.
I therefore recommend posting this to the mailing list about standards
defects (it has about the same role now as the defunct comp.std.c++),
namely <url:
http://groups.google.com/a/isocpp.org/group/std-discussion/>, and/or to
the comp.std.c++ sister group comp.lang.c++.moderated, which forked from
this group in the 90's, and which unlike comp.std.c++ is still limping
along, not quite dead.
Cheers & hth.,
- Alf
Subject: Re: 4th bullet point in iso =?ISO-8859-1?Q?=A712=2E1_p5_does?= =?ISO-8859-1?Q?n=27t_make_sense_to_me?=
From: "Alf P. Steinbach" <alf.p.steinbach+usenet@...>
Date: Sat, 28 Dec 2013 20:16:06 +0100
On 28.12.2013 17:50, johnkalane@... wrote:
>
> As far as I can understand the "T()" in the expression "T() = default;" refers
> to the defaulted (= default) default constructor T(), as explained here
> http://stackoverflow.com/a/7469608/1042389.
Stack Overflow is IMO a very unreliable authority, a Herb Schildt-land.
On SO an answer is selected as correct by the generally least competent
to judge it, namely the OP who, by asking, has demonstrated a clear lack
of competence. And this is so for ALL selected answers on SO, including
my own answers, and answers to my own questions, of course.
Rather than rely on SO, just assume that the standard's own definition
in §8.4.2/4 is the relevant one for use of that term in the standard:
* "Explicitly-defaulted functions and implicitly-declared functions are
collectively called /defaulted functions/, and the implementation shall
provide implicit definitions for them (12.1 12.4, 12.8), which might
mean defining them as deleted"
About your original question I'm less sure, but it does look like either
compiler bugs or a defect in the standard, or perhaps both.
I therefore recommend posting this to the mailing list about standards
defects (it has about the same role now as the defunct comp.std.c++),
namely <url:
http://groups.google.com/a/isocpp.org/group/std-discussion/>, and/or to
the comp.std.c++ sister group comp.lang.c++.moderated, which forked from
this group in the 90's, and which unlike comp.std.c++ is still limping
along, not quite dead.
Cheers & hth.,
- Alf
via Usenet Forums - Usenet Search,Free Usenet - comp.lang.c++ http://www.pocketbinaries.com/usenet-forums/showthread.php?160348-4th-bullet-point-in-iso-ISO-8859-1-Q-A712-2E1_p5_does-ISO-8859-1-Q-n-27t_make_sense_to_me&goto=newpost
View all the progranning help forums at:
http://www.pocketbinaries.com/usenet-forums/forumdisplay.php?128-Coding-forums
No comments:
Post a Comment