[C++-sig] Re: abstract base class

Mike Rovner mike at bindkey.com
Tue Nov 19 21:14:44 CET 2002


"Nicolas Lelong" <n_lelong at hotmail.com> wrote in message
news:DAV39n1YcEBdyFj9ZYh00008290 at hotmail.com...
> Hi
>
> > [...]
> > class_<LayerOperation>("Operation", no_init);  // line 169
>
> You should try :
>
>     class_<LayerOperation, boost::noncopyable>("Operation", no_init);
>
> It works for me :)
>
> Hope this helps,

Thank you. That works for me too ;)

But I'm curious (a) why that happened? (b) error message is inadequate.

Truly yours,
Mike








More information about the Cplusplus-sig mailing list