Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
Qt Creator 2.5.0
-
None
-
Windows 7 / Mingw gcc 4.7.0
-
30b553466797ddf7e3252f1cab2d02d6ea0bee5a
Description
using namespace std;
class B {
public:
vector<int> func(int x);| // Here I call refactoring "Add definition"
};
This will generates correct code, i.e.,
vector<int> B::func(int x)
{
}
--------------------------------------
However, without "using namespace std"
class B {
public:
std::vector<int> func(int x);| // Here I call refactoring "Add definition"
};
generated code is not correct,
vector B::func(int x) // <int> is missing
{
}
Attachments
Issue Links
- is replaced by
-
QTCREATORBUG-6784 "Apply function signature change" does not work for boost::shared_ptr
-
- Closed
-