Languages

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..

 

 

 

 

 

 

Edited by: Brock Boland on 17 Mar, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.

Responses

1 Replies
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());