https://bugs.kde.org/show_bug.cgi?id=377397

            Bug ID: 377397
           Summary: "Implement ..." template for template methods misses
                    the keyword "typename"
           Product: kdevelop
           Version: 5.1.0
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Language Support: CPP (Clang-based)
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: akreuzk...@web.de
  Target Milestone: ---

Steps to reproduce:
1. Create a c++ project and use the clang-plugin.
2. Write a template class 
```
template<typename T> class Foo {
    void bar();
};
```
3. Below (or in the cpp) press CTRL+Space at an appropriate place in order to
get an completion proposal "Implement void Foo<T>::bar()"
4. Press Enter.

The code will look like
```
template<T> void Foo<T>::bar()
{
}
```
while it needs to look like
```
template<typename T> void Foo<T>::bar()
{
}
```

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to