-
-
Notifications
You must be signed in to change notification settings - Fork 707
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add "eval" to phobos #10023
Labels
Comments
andrej.mitrovich (@AndrejMitrovic) commented on 2014-04-25T13:43:07ZMaybe in std.functional? Anyway it sounds like a neat idea. |
bearophile_hugs commented on 2014-04-25T14:00:43Z(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. |
hsteoh commented on 2014-10-02T20:08:59ZYeah, I think ctEval is a better name, otherwise people could misunderstand it as runtime mixin, as it is used in other languages. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
monarchdodra reported this on 2013-12-24T07:52:10Z
Transfered from https://issues.dlang.org/show_bug.cgi?id=11811
CC List
Description
The text was updated successfully, but these errors were encountered: