bearophile <[email protected]> wrote:

Simen kjaeraas:
class Answer {
     alias int Correctness;
     enum Correctness CORRECT = 0;
     enum Correctness WRONG = 1;

     Correctness _answerCode;
     string _answerText;

     @property Correctness answerCode( ) const {
         return _answerCode;
     }

'Correctness' there begs to be a typedef :-]

Don't I know it. But typedefs are supposed to go away.

--
Simen

Reply via email to