Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Meiner on July 05, 2014, 10:00:19 pm

Title: CC behaviour with c++11 unique_ptr
Post by: Meiner on July 05, 2014, 10:00:19 pm
Hi,

is it a normal behaviour of the CC that I don't get any respose of the CC when dealing with c++11 unique_ptr? I do not get a response neither when trying to complete something like
Code
#include <memory>
std::uniq..
nor when playing with simple examples like

Code
#include <memory>
std::unique_ptr<std::string> string = std::unique_ptr<std::string>(new std::string("Test"));
std::cout << string->size(); // no completion for string->si...

Am I doing something wrong?
Title: Re: CC behaviour with c++11 unique_ptr
Post by: SilverTES on November 20, 2016, 12:46:16 pm
I know it's a very old post but, I'm interested too ! :'(

Code Completion don't work with unique_ptr !

" unique_ptr -> nothing ..."
Title: Re: CC behaviour with c++11 unique_ptr
Post by: oBFusCATed on November 20, 2016, 01:55:57 pm
It is known problem. Our C++ parser doesn't support operator overloading.