[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-bugs
Subject: [Bug 66683] Implement Code refactoring
From: Thomas McGuire <mcguire () kde ! org>
Date: 2009-02-12 22:33:25
Message-ID: 20090212223325.A24D714E2E () immanuel ! kde ! org
[Download RAW message or body]
http://bugs.kde.org/show_bug.cgi?id=66683
Thomas McGuire mcguire kde org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mcguire@kde.org
--- Comment #29 from Thomas McGuire <mcguire kde org> 2009-02-12 23:33:23 ---
Since this seems to be a catch-all bug about refactoring, I add an idea here:
Move assignments in constructors to the initalizer list.
For example:
Foo::Foo()
{
someMember = 12;
}
should become:
Foo::Foo()
: someMember( 12 )
{
}
This should take into account the ordering of the member variables in the class
declaration, since otherwise GCC will spit out warnings.
--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic