
31 Mar
2009
31 Mar
'09
4:38 p.m.
V S P:
Hello
I have a situation where I have
struct cmoney_impl_dtl; //hidden impl is in Cpp file struct myclass {
boost::scoped_ptr
myimpl_ptr; }
You must declare ~myclass in the header and implement it in the .cpp file. If your class didn't have a destructor you'd need myclass::~myclass() {} Otherwise, just move the implementation of ~myclass into the .cpp file.