Formal Review of std.uni

Jesse Phillips Jesse.K.Phillips+D at gmail.com
Sat May 18 10:15:51 PDT 2013


I've found a difference from the existing  std.uni.

Compile-time execution of toUpper/toLower does not work.

import uni;

void main() {
     enum a = 'm';

     static assert(a.toUpper == 'M');
     static assert(a.toLower == 'm');
}

This never really was part of the contract in std.uni, but is 
probably a good idea to continue supporting it.


More information about the Digitalmars-d mailing list