Rule M9-3-3 (required, implementation, automated)

If a member function can be made static then it shall be made static, otherwise if it can be made const then it shall be made const. See MISRA C++ 2008 [7] Note: Static methods can only modify static members of a class, they are not able to access data of a class instance. Note: Const methods can only modify static members of a class or mutable-declared members of a class instance.


## See also
C++ Core Guidelines [11]: Con.2: By default, make member functions const.