netpipe September 9, 2021

c++ enums should be fixed so that the values they contain can be used in switches better the enum specifier

enum test{init};
enum test1{init};

switch (esb2d[param]){

case eparamb2d(init): //gravity based
{

 

compiling says error redefinition of init when it should support multiple enums like that.

 

Leave a comment.