Boost logo

Boost Users :

From: Jeff Wang (jfw1000_at_[hidden])
Date: 2004-07-07 15:08:03

Hello All,

I have old codes which are like below:

Struct A
int a;
double X;

Struct B
 int b;
 double Y;
 A* pA;

May I use boost::shared_ptr<B> to define the sturct B
smart pointer? like boost::shared_ptr<B> sB(new B)?



Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at