[C++-sig] How to manage smart pointer as return value of a factory?

Roman Yakovenko roman.yakovenko at gmail.com
Wed Feb 15 15:37:44 CET 2006


On 2/15/06, Julien <swell at netcourrier.com> wrote:
> Yes i use your code but noticed that your X class is not anymore abstract. If
> i do that my code is not compiling anymore.
> What if the X class is abstract how to declare the X_wrapper, how to mix these
> two concepts?

Sorry, I did not pay attention to this detail. The right way is to
derive class Y_wrapper also
from X_wrapper, and I did not implement this functionality yet.

--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/



More information about the Cplusplus-sig mailing list