User forums > Using Code::Blocks

Code Completion with class templates

(1/1)

qtreez:
It is possible that Code Completions works with templates?

For example class wxListBox inherits from the wxControlWithItemsBase (indirectly, but that is not important) and wxWindowWithItems is class template as you can see below:



--- Code: ---class  wxControlWithItemsBase :
    public wxWindowWithItems<wxControl, wxItemContainer>
{ };
--- End code ---


--- Code: ---template <class W, class C>
class wxWindowWithItems : public W, public C
{ };
--- End code ---

Code Completion doesn't complete methods from wxControl nor wxItemContainer classes.
This feature would be quite helpful.

oBFusCATed:
Can you reproduce this problem with a simple example that doesn't use any other library?

Navigation

[0] Message Index

Go to full version