
7 Jul
2004
7 Jul
'04
8:08 p.m.
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