Project

General

Profile

Feature #2060

Convert enum to enum class

Added by David van der Spoel over 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
hard
Close

Description

Having been just bitten by code (nb_generic_cg.cpp) comparing enums to numbers it seems prudent to move to enum class wherever possible.

There are some issues involved with linking arrays of strings to numbers, e.g. in mdp files and (old-style) command line options. Thoughts?

Also available in: Atom PDF