Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Eclipse can not auto complete the methods of an object if it is an element of a vector?


I have a standard makefile C++ project. The following behavior of
Eclipse code assistant confuses me:

aModel a = new aModel();

not working:
vector<aModel *> aModelVec;
aModelVec.push_back(new aModel());

Note that Eclipse can auto complete  a->getCount(), but not the
aModelVec[0]->getCount().  Any suggestions?

Best regards,
Michael Chen

Back to the top