Merge branch 'replace-enum-with-constexpr-static' into 'master'

replace `enum` with `constexpr static` where appropriate

See merge request !219
8 jobs for master in 10 minutes and 35 seconds (queued for 4 seconds)
latest