[nem-en] Same as empty enum in c#

Paul Bludov pbludov at gmail.com
Wed May 16 01:36:05 CEST 2007


public enum EmptyEnum {}

Compiles fine in c#. Without any warnings.
I'm actually does not understand which kind of warning is suitable here.
"Consider using empty class instead of empty variant"?

If somebody wrote an empty declaration, he or she need it.


----- Original Message ----- 
From: Dmitry Ivankov 
To: devel-en at nemerle.org 
Sent: Thursday, May 10, 2007 8:00 PM
Subject: [nem-en] empty variants


Is there any sense in empty variant?
variant A{};

Maybe a warning should be generated?




_______________________________________________
https://nemerle.org/mailman/listinfo/devel-en



More information about the devel-en mailing list