|
Boost : |
From: rogeeff (rogeeff_at_[hidden])
Date: 2001-12-13 00:46:37
Hi, all
I have a question to BCC experts:
BCC seems to have a problem compiling following example:
#include <boost/smart_ptr.hpp>
class A {
public:
~A();
private:
struct Impl;
boost::scoped_ptr<Impl> m_pimpl;
};
void foo()
{
boost::scoped_ptr<A> a;
}
What is the reason? How to fix it? Is it incorrect code or BCC bug?
MSVC and Sun Forte C++ compile it.
Thank you ,
Gennadiy.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk