S
salvo
Hi,
Is it possible to compare two enum variable?! Or should I
provide an operator method?! I mean..
....
public:
enum cdtype{ audio = 1, video =2 } cd_tpe;
....
if( a.getType() < b.getType )
return true;
....
Regards
Salvo
Is it possible to compare two enum variable?! Or should I
provide an operator method?! I mean..
....
public:
enum cdtype{ audio = 1, video =2 } cd_tpe;
....
if( a.getType() < b.getType )
return true;
....
Regards
Salvo