Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Bug in autocomplete with simple templates

I've got sample code (I've distilled the problem to these, I didn't start naming at C)

-----------------------------------------------------
//template<int k>
//any template will do (eg class T)
class D {
    struct C {
        C* c;
    };
private:
    C c;
public:
    void f() {
//Auto complete on c works great if you keep the template bit commented
    }

};
----------------------------------------------------------

I've reproduced on two computers using (I think) the same version, can confirm one of them is: 8.3.0.201402142303 (whoa, that's old) the other computer is a recent grab of Eclipse Kepler.... actually I'll look into updating. Was there an easy fix (and has it been fixed?)

Alec


Back to the top