|
|
In article <3c4f3a4c@news.povray.org> , Warp <war### [at] tagpovrayorg> wrote:
> Thorsten Froehlich <tho### [at] trfde> wrote:
> : return new SubClass(*this);
>
> Uh. That hurts my eyes.
So I assume you don't read "The C++ Programming Language" from Stroustrup?
Well, at least you will have to stop reading it now that I direct your
attention to p. 424 (in the 3rd edition paperback of the book) aka section
15.6.2 "Virtual Constructors". After all, you should really not hurt your
eyes intentionally! ;-)
Thorsten
PS: I am sorry, but it looks like you lost this argument...
____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde
Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
|
|