Author Topic: Object is not identified when a class argument is between {}  (Read 2468 times)

Offline rogeriodec

  • Multiple posting newcomer
  • *
  • Posts: 50
In the example below, the SFML object 'content' is not being recognized by CB:
   
Code
sf::Sprite content {texture.getTexture()};
That is, it does not appear in the auto-complete lists, though it is compiled normally.

However if the argument is in parentheses, or there is no argument, CB identifies the object correctly.

Code
sf::Sprite content (sf::Texture);

Is this a bug, right?
Windows 8.1

SVN 11400

Offline sodev

  • Regular
  • ***
  • Posts: 497
Re: Object is not identified when a class argument is between {}
« Reply #1 on: May 14, 2018, 08:37:01 pm »
Sadly C++11 support for CodeCompletion is next to non-existent so it usually breaks when using C++11 features.

Offline rogeriodec

  • Multiple posting newcomer
  • *
  • Posts: 50
Re: Object is not identified when a class argument is between {}
« Reply #2 on: May 14, 2018, 10:30:53 pm »
So, there is no solution for this?
Windows 8.1

SVN 11400