$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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