User forums > Using Code::Blocks

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

(1/1)

rogeriodec:
In the example below, the SFML object 'content' is not being recognized by CB:
   
--- Code: ---sf::Sprite content {texture.getTexture()};
--- End code ---
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);
--- End code ---

Is this a bug, right?

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

rogeriodec:
So, there is no solution for this?

Navigation

[0] Message Index

Go to full version