News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Object is not identified when a class argument is between {}

Started by rogeriodec, May 14, 2018, 04:37:41 AM

Previous topic - Next topic

rogeriodec

In the example below, the SFML object 'content' is not being recognized by CB:
   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.

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

Is this a bug, right?
Windows 8.1

SVN 11400

sodev

Sadly C++11 support for CodeCompletion is next to non-existent so it usually breaks when using C++11 features.

rogeriodec

Windows 8.1

SVN 11400