Topic: Defect Report: Most derived objects of non-class type


Author: Marc Schoolderman <squell@alumina.nl>
Date: Sun, 20 Mar 2005 22:59:01 +0000 (UTC)
Raw View
[ Note: forwarded to C++ committee. -sdc ]

The standard uses 'most derived object' in some places (for example,
1.3.3 [defns.dynamic.type], 5.3.5 [expr.delete]) to refer to objects of
both class and non-class type. However, 1.8 [intro.object] only formally
defines it for objects of class type.

Possible fix:

Change the wording in 1.8 [intro.object] paragraph 4.

"an object of a most derived class type is called a most derived object"

to

"an object of a most derived class type, or of non-class type, is called
a most derived object"

~Marc



[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html                       ]