
On 10/21/07, shunsuke <pstade.mb@gmail.com> wrote:
BTW, why not `poly<T>`. `optional_` seems redundant.
I have already received requests (by gpd, when I showed him my first implementation few weeks ago) to provide also a non-nullable equivalent, so I think poly<T> should be reserved for it. BTW, the idea of the hand made vtable born in the discussion with gpd. My first implementation used just one function ptr to encapsulate all the behaviour (with a signature to fit all the methods), and was substantially less efficient than the current solution. Thanks Corrado -- __________________________________________________________________________ dott. Corrado Zoccolo mailto:zoccolo@di.unipi.it PhD - Department of Computer Science - University of Pisa, Italy --------------------------------------------------------------------------