语言

Menu
Sites
Language
Can't build Project..

 

I am trying to use std::shared_ptr in my code... gives complie error..'std::shared_ptr' has not been 

 declared.. i had set the GCC complier.. still gets the error..please help..

 

 

 

 

 

 

编辑者为: Brock Boland 17 3月, 2014 原因: Paragraph tags added automatically from tizen_format_fix module.

响应

1 回复
kavish
To use shared_ptr use below line of code . I am not getting any error while using below code. std::tr1::shared_ptr< Foo > foo(new (std::nothrow) Foo());