Topic: Notional constructors" in C++0x?


Author: Scott Meyers <usenet@aristeia.com>
Date: Sat, 16 May 2009 21:57:29 CST
Raw View
12.9/1 refers to "notional constructors" without defining the term.
This is the
only place in N2800 that the word "notional" is used, if Acrobat Reader
is to be
believed.  Can somebody please clarify what this term means?  (From what
I can
tell, this is not a typo for "notational" -- not that I'd know what a
"notational constructor" was, either.)

Thanks,

Scott

--
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@netlab.cs.rpi.edu]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.comeaucomputing.com/csc/faq.html                      ]





Author: Richard Smith <richard@ex-parrot.com>
Date: Sun, 17 May 2009 21:49:09 CST
Raw View
On May 17, 4:57 am, Scott Meyers <use...@aristeia.com> wrote:
> 12.9/1 refers to "notional constructors" without defining the term.
> This is the
> only place in N2800 that the word "notional" is used, if Acrobat Reader
> is to be
> believed.  Can somebody please clarify what this term means?

I assume it's something that isn't an "actual constructor" per the
description in the following bullet points.  For example, if I have

   struct C { C( int i, int j = 42 ); };

then C::C(int, int) is an "actual constructor" and C::C(int) is a
"notional constructor".

That would be my interpretation, anyway.

Richard Smith


--
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@netlab.cs.rpi.edu]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.comeaucomputing.com/csc/faq.html                      ]