From: Alan Gutierrez (alan-boost_at_[hidden])
Date: 2004-12-30 16:21:19
* christopher diggins <cdiggins_at_[hidden]> [2004-12-30 16:17]:
> The BIL library, provides a mechanism for non-intrusive structural
> subtyping. In other words any object can be used polymorphically
> if it provides function signatures which match those of the
> interface type. The advantages are that it eliminates the overhead
> of virtual tables in the objects. Also dynamic function dispatch
> only occurs when it is needed (i.e. through an interface
> reference). Most importantly the BIL removes the requirement of
> inheritance for polymorphism.
> Is the value of such as approach apparent or are more detailed
> examples warrranted?
Crystal clear. Very cool. Thank you.
-- Alan Gutierrez - alan_at_[hidden]
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk