I was never a really big fan of adding lots of virtual_hook()'s to
classes. vtable entries do come at a cost and in many cases it's not
really required. I am certainly against blindly adding them to all our
classes.

Cheers,
Lars

On 4/11/12 8:19 AM, "ext jan-arve.saet...@nokia.com"
<jan-arve.saet...@nokia.com> wrote:

>The "Little Manual of API Design" [1] recommends adding a virtual_hook()
>that can be used later on if we need to extend the class without BIC.
>Lots of classes does not have this hook.
>
>Isn't this something we should fix before Qt5 is out?
>
>Jan-Arve
>
>[1]: Little Manual of API Design,
>http://chaos.troll.no/~shausman/api-design/api-design.pdf
>
>_______________________________________________
>Development mailing list
>Development@qt-project.org
>http://lists.qt-project.org/mailman/listinfo/development

_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to