Formal Review of std.uni

Dmitry Olshansky dmitry.olsh at gmail.com
Sun May 19 02:08:41 PDT 2013


18-May-2013 21:15, Jesse Phillips пишет:
> 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.

Will take a stub at it.

-- 
Dmitry Olshansky


More information about the Digitalmars-d mailing list