Position of const keyword
Asked by
Gabriel Margiani
In the last reviews, SirVer asked to write the const keyword in front of the definition
const T v, not T const v.
The style guidelines given on the website contain the opposite of this
(http://
Could the guidelines get updated?
Maybe we should add a Style rule or, at least, say somewhere that the the style used
in most of the code isn't what is expected from new code. So new developers don't need to
wonder why the style used in all code around their change should be wrong.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- widelands Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- SirVer
- Solved:
- Last query:
- Last reply:
To post a message you must log in.