|
Boost : |
From: John Maddock (John_Maddock_at_[hidden])
Date: 2002-01-12 06:34:59
>* The standard does not require a vfptr in each instance of the class.
>I'm not aware of any implementation that does not, but it is
>theoretically possible to implement (maybe in interpreted environment?)
yes, in general it's going to require compiler support.
>* is_polymorphic should return false for scalar types rather than fail
>to compile.
Absolutely, the code I posted was very much a first rough cut, it should
compile with all types.
- John Maddock
http://ourworld.compuserve.com/homepages/john_maddock/
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk