On 4/9/14, 11:54 AM, Andrej Mitrovic wrote:
On 4/9/14, Andrei Alexandrescu <[email protected]> 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".


Good point. I was going with Pascal, perhaps not a model to follow. -- Andrei

Reply via email to