Topic: Defect Report: Ptr to Member and POD
Author: Nathan Sidwell <nathan@acm.org>
Date: 1999/07/31 Raw View
Hi,
[basic.types] 3.9/10 defines pointer to member types to be scalar types. It
also defines scalar types to be one of the POD types.
[class] 9/4 Defines a POD struct as an aggregate class with no non-static data
members of type pointer to member ...
It seems contradictory that a type can be POD, yet a class containing that type
be non-POD.
Suggested resolution:
Alter 9/4 to allow pointer to member objects as non-static data members of POD
class.
Please contact me if you require more information
nathan
--
Dr Nathan Sidwell :: Computer Science Department :: Bristol University
I have seen the death of PhotoShop -- it is called GIMP
nathan@acm.org http://www.cs.bris.ac.uk/~nathan/ nathan@cs.bris.ac.uk
---
[ 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://reality.sgi.com/austern_mti/std-c++/faq.html ]