Topic: type_info extension + hierarchy traits suggestions


Author: "Philippe A. Bouchard" <philippeb@videotron.ca>
Date: Sun, 25 Aug 2002 13:24:36 GMT
Raw View
Hi,

    I just wanted to suggest type_info::operator size_t () as new type_info
member function.  This would help a lot for indexing usages & me for
boost::ptr<> smart pointer simplifications... :)

    Implicitly generated hierarchy traits would help also for different
class structure types:
- simple: single inheritances;
- complex: multiple inheritances;
- ambiguous: same non-virtual base class used on several occasions.



Thank you,

Philippe A. Bouchard



---
[ 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                       ]