Topic: SV: In-class definition of pure virtual functions


Author: "Henrik Vallgren" <henrik.vallgren@streamspace.com>
Date: Wed, 22 Apr 2015 13:40:39 +0200
Raw View
This is a multipart message in MIME format.

------=_NextPart_000_003B_01D07D01.EBCBDDB0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Evidently, I was wrong. The closest I=E2=80=99ve ever come to this was a=20

software that emitted a =E2=80=9Cpure virtual function called=E2=80=9D-exce=
ption.

//Henrik

=20

Fr=C3=A5n: Columbo [mailto:r.hl@gmx.net]=20
Skickat: den 22 april 2015 13:32
Till: std-proposals@isocpp.org
=C3=84mne: Re: [std-proposals] In-class definition of pure virtual function=
s

=20

Am Mittwoch, 22. April 2015 12:11:54 UTC+1 schrieb HenrikVallgren:

Hi,

=20

I don=E2=80=99t see the point in this: the =E2=80=9D=3D0=E2=80=9D part says=
 that you will not provide an=20

implementation for this class and then you add an empty one?

=20

Andrey described it pretty well: The =3D0 part indicates that this is a pur=
e virtual function. =C2=A710.4/2:

A pure virtual function need be defined only if called with, or as if with =
(12.4), the qualified-id syntax (5.1).

=20

--=20

---=20
You received this message because you are subscribed to the Google Groups "=
ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposa=
ls/.

--=20

---=20
You received this message because you are subscribed to the Google Groups "=
ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposa=
ls/.

------=_NextPart_000_003B_01D07D01.EBCBDDB0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40"><head><meta http-equiv=3DContent-Type content=
=3D"text/html; charset=3Dutf-8"><meta name=3DGenerator content=3D"Microsoft=
 Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
 {font-family:"Cambria Math";
 panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
 {font-family:Calibri;
 panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
 {font-family:Tahoma;
 panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
 {margin:0cm;
 margin-bottom:.0001pt;
 font-size:12.0pt;
 font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
 {mso-style-priority:99;
 color:blue;
 text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
 {mso-style-priority:99;
 color:purple;
 text-decoration:underline;}
p
 {mso-style-priority:99;
 mso-margin-top-alt:auto;
 margin-right:0cm;
 mso-margin-bottom-alt:auto;
 margin-left:0cm;
 font-size:12.0pt;
 font-family:"Times New Roman","serif";}
span.E-postmall18
 {mso-style-type:personal-reply;
 font-family:"Calibri","sans-serif";
 color:#1F497D;}
..MsoChpDefault
 {mso-style-type:export-only;
 font-family:"Calibri","sans-serif";
 mso-fareast-language:EN-US;}
@page WordSection1
 {size:612.0pt 792.0pt;
 margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
 {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DSV link=3Dblue vlink=
=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span lang=3DEN-US=
 style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D=
'>Evidently, I was wrong. The closest I=E2=80=99ve ever come to this was a =
<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US style=3D'font=
-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>software tha=
t emitted a =E2=80=9Cpure virtual function called=E2=80=9D-exception.<o:p><=
/o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US style=3D'font-size:=
11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>//Henrik<o:p></o:p=
></span></p><p class=3DMsoNormal><span lang=3DEN-US style=3D'font-size:11.0=
pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></spa=
n></p><p class=3DMsoNormal><b><span style=3D'font-size:10.0pt;font-family:"=
Tahoma","sans-serif"'>Fr=C3=A5n:</span></b><span style=3D'font-size:10.0pt;=
font-family:"Tahoma","sans-serif"'> Columbo [mailto:r.hl@gmx.net] <br><b>Sk=
ickat:</b> den 22 april 2015 13:32<br><b>Till:</b> std-proposals@isocpp.org=
<br><b>=C3=84mne:</b> Re: [std-proposals] In-class definition of pure virtu=
al functions<o:p></o:p></span></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p=
><div><p class=3DMsoNormal>Am Mittwoch, 22. April 2015 12:11:54 UTC+1 schri=
eb HenrikVallgren:<o:p></o:p></p><div><div><p class=3DMsoNormal>Hi,<o:p></o=
:p></p></div><div><p class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p c=
lass=3DMsoNormal>I don=E2=80=99t see the point in this: the =E2=80=9D=3D0=
=E2=80=9D part says that you will not provide an&nbsp;<o:p></o:p></p></div>=
<div><p class=3DMsoNormal>implementation for this class and then you add an=
 empty one?<o:p></o:p></p></div></div><div><p class=3DMsoNormal>&nbsp;<o:p>=
</o:p></p></div><div><p class=3DMsoNormal style=3D'margin-bottom:12.0pt'>An=
drey described it pretty well: The =3D0 part indicates that this is a <i>pu=
re </i>virtual function. =C2=A710.4/2:<o:p></o:p></p><p class=3DMsoNormal>A=
 pure virtual function need be defined only if called with, or as if with (=
12.4), the <i>qualified-id</i> syntax (5.1).<o:p></o:p></p><p class=3DMsoNo=
rmal><o:p>&nbsp;</o:p></p></div></div><p class=3DMsoNormal>-- <br><br>--- <=
br>You received this message because you are subscribed to the Google Group=
s &quot;ISO C++ Standard - Future Proposals&quot; group.<br>To unsubscribe =
from this group and stop receiving emails from it, send an email to <a href=
=3D"mailto:std-proposals+unsubscribe@isocpp.org">std-proposals+unsubscribe@=
isocpp.org</a>.<br>To post to this group, send email to <a href=3D"mailto:s=
td-proposals@isocpp.org">std-proposals@isocpp.org</a>.<br>Visit this group =
at <a href=3D"http://groups.google.com/a/isocpp.org/group/std-proposals/">h=
ttp://groups.google.com/a/isocpp.org/group/std-proposals/</a>.<o:p></o:p></=
p></div></body></html>

<p></p>

-- <br />
<br />
--- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:std-proposals+unsubscribe@isocpp.org">std-proposa=
ls+unsubscribe@isocpp.org</a>.<br />
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org">std-proposals@isocpp.org</a>.<br />
Visit this group at <a href=3D"http://groups.google.com/a/isocpp.org/group/=
std-proposals/">http://groups.google.com/a/isocpp.org/group/std-proposals/<=
/a>.<br />

------=_NextPart_000_003B_01D07D01.EBCBDDB0--


.