Author Topic: CC behaviour with c++11 unique_ptr  (Read 3182 times)

Offline Meiner

  • Multiple posting newcomer
  • *
  • Posts: 12
CC behaviour with c++11 unique_ptr
« 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?
« Last Edit: July 05, 2014, 10:03:47 pm by Meiner »

SilverTES

  • Guest
Re: CC behaviour with c++11 unique_ptr
« Reply #1 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 ..."
« Last Edit: November 20, 2016, 12:57:43 pm by SilverTES »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: CC behaviour with c++11 unique_ptr
« Reply #2 on: November 20, 2016, 01:55:57 pm »
It is known problem. Our C++ parser doesn't support operator overloading.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]