i do that before posting...
i am using codeblock v10.05
error: 'unique_ptr' was not declared in this scope|Code:#include <iostream> #include<memory> using namespace std; struct a{ string test; }; int main() { unique_ptr<a> b( new a() ); }
error: expected primary-expression before '>' token|
error: 'b' was not declared in this scope|