条款17:以独立语句将 newed 对象置入智能指针
int priority();
void processWidget(std::tr1::shared_ptr<Widget> pw, int priority);processWidget(std::tr1::shared_ptr<Widget> (new Widget), priority());Last updated
int priority();
void processWidget(std::tr1::shared_ptr<Widget> pw, int priority);processWidget(std::tr1::shared_ptr<Widget> (new Widget), priority());Last updated