|
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)?
Thanks
Jeff
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net