[C++-sig] Re: Making copy of function derived from C++ pure virtual function

Paul F. Kunz Paul_Kunz at slac.stanford.edu
Wed Mar 23 00:50:35 CET 2005


>>>>> On Tue, 22 Mar 2005 17:57:49 -0500, David Abrahams <dave at boost-consulting.com> said:

>> 
>> The VC++ build log is attached below

> Was it filtered by something?  I can't see much of the information
> I'm used to getting from VC++ there.

   No, just converted from html to plain text.

>> and is saying can't instanciate FunctionBase because pure virtual
>> functions have no definition.  These functions are defined in
>> FunctionWrap.  Is this possibly a problem with VC++ or is gcc
>> letting me get away with something.

> Looks like a VC++ problem, though I don't know for sure.  Is
> FunctionWrap copyable?  

   Didn't we have to make it copyable so that clone member function
could be implemented in Python?

> Otherwise you should use noncopyable in its
> class_ and these errors might disappear.

   I'll try, but not right away.




More information about the Cplusplus-sig mailing list