enum

Andrej Mitrovic andrej.mitrovich at gmail.com
Wed Apr 9 11:54:25 PDT 2014


On 4/9/14, Andrei Alexandrescu <SeeWebsiteForEmail at erdani.org> wrote:
> E succ(E value);
> E succ(E value, E overflow) nothrow;
> E pred(E value);
> E pred(E value, E overflow) nothrow;

Not to nitpick, but next/prev for the names is easier to understand.
"succ" is rare, and "pred" reminds me of "predicate".


More information about the Digitalmars-d mailing list