[Uml-devel] [Bug 129721] New: C++ code generator does not qualify member functions
Brad Markel
tigera at rocketmail.com
Fri Jun 23 20:08:58 UTC 2006
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=129721
Summary: C++ code generator does not qualify member functions
Product: umbrello
Version: 1.5.2
Platform: Ubuntu Packages
OS/Version: Linux
Status: UNCONFIRMED
Severity: wishlist
Priority: NOR
Component: general
AssignedTo: umbrello-devel.kde.org
ReportedBy: tigera rocketmail com
Version: 1.5.2 (using KDE KDE 3.5.2)
Installed from: Ubuntu Packages
Compiler: gcc-4.0.3
OS: Linux
Perhaps this is only a matter of style, but it would be nice to see that class members were qualified in their implementation file. Right now, for a class C with member M, the definition doesn't start with C::, instead only listing the function name:
//C.h header:
class C
{
public:
void Fxn();
};
//C.cpp implementation (as generated by Umbrello):
void Fxn() {
}
This could cause name collisions, especially when dealing with multiple inheritance, that could cause a large project not to compile and cause problems with other compilers besides gcc.
More information about the umbrello-devel
mailing list