C++ support doesn't work with std::vector

Andreas Pakulat apaku at gmx.de
Sat May 24 19:34:20 UTC 2008


Hi,

the following code-snippet doesn't produce code-completion after the
last ".":

#include "iprojectcontroller.h"
#include <vector>

namespace KDevelop
{

class Foo
{
    public: void foo();
};
    
IProjectController::IProjectController( QObject *parent )
        : QObject( parent )
{
    std::vector<Foo> v;
    v.at(0).<space here>

It doesn't work either with [0], however a Foo m[2]; works fine. Also
the code-completion for "std::vector::at()" tells the proper template
arguments for the vector.

Is this a known issue? I actually would've expected this to work
already :(

BTW: David if you fix this, please close
http://bugs.kde.org/show_bug.cgi?id=162567

Andreas

-- 
So you're back... about time...




More information about the KDevelop-devel mailing list