[Issue 11811] Add "eval" to phobos
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Fri Apr 25 07:00:43 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=11811
bearophile_hugs at eml.cc changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bearophile_hugs at eml.cc
--- Comment #2 from bearophile_hugs at eml.cc ---
(In reply to monarchdodra from comment #0)
> The idea is to simply *force* the CTFE evaluation of a variable, without
> declaring an enum.
It's a nice function that I have defined in my code, but please give it a more
specific name, because "eval" has usually a more general meaning (coming from
Lisp-like languages). So you can name it "ctEval" or something else.
--
More information about the Digitalmars-d-bugs
mailing list