C locale

"Luís "Luís
Fri Sep 27 17:28:49 PDT 2013


BTW, I have for more than once wondered why there was no way to 
specify more than one version identifier (is there?), like this:

     version(Windows, OSX)
     {
         enum LC_ALL            = 0;
         enum LC_COLLATE        = 1;
         enum LC_CTYPE          = 2;
         enum LC_MONETARY       = 3;
         enum LC_NUMERIC        = 4;
         enum LC_TIME           = 5;
     }
     version(OSX)
     {

         enum LC_MESSAGES	   = 6;
     }

Is there a way to use version() that avoids having to repeat the 
equal declarations for both Windows and OSX?


More information about the Digitalmars-d mailing list