Can Eclipse CDT generate by-reference getter methods?
Consider:
struct A {};
struct B {
开发者_如何学编程A a;
}
If I let Eclipse automatically generate the getter method for `a' it has the following signature:
A B::getA() const;
Is it possible to automatically generate getters with other signatures, e.g.
A& B::getA();
from within Eclipse CDT?
Regards
精彩评论