is there a standard in order of functions in cpp file?
there are:
- global functions
- constructors
- destructors
- getters
- setters
- algoritmic functions
- if qt, slots
- if a derived class, overrided functions
- static functions
- any function type that i can not name...
in cpp file, is there any good way to order?
i order them as i wrote in the list above.
i know that it does not change anything but i care about good looking code...
how do you order?