compile-time
Compile time evaluation
If I write enum chars = digits ~ uppercase; will the string be concatenated at compile time? I\'m assuming it will. If I replace it with a string literal or a CTFE function I can\'t measure any sig[详细]
2023-03-16 20:07 分类:问答calculating constant library functions at compile time
I want to use boltzmann constant in my functions. I am using the following code to开发者_Go百科 declare the boltzmann constant[详细]
2023-03-13 03:56 分类:问答Force pre-computation of a constant
I have a constant declaration in Haskell -- can I force this to be evaluated ahead of time? I\'m seeing some code that looks roughly like,[详细]
2023-03-08 01:39 分类:问答How to make a table (Data.Map) strict in haskell?
For learning Haskell (nice language) I\'m triying problems from Spoj. 开发者_StackOverflowI have a table with 19000 elements all known at compile-time.[详细]
2023-03-06 02:15 分类:问答Why is a 'use' statement executed first in a BEGIN block?
When I execute the following code, I getCan\'t locate SomePackage.pm in @INC .... BEGIN { die; use SomePackage;[详细]
2023-03-05 07:12 分类:问答Ensure mutually exclusive interfaces at compile-time?
I\'d like to ensure that two interfaces are never found on the same class at compile-time, similar to how AttributeUsage checks custom Attributes at compile-time.[详细]
2023-03-04 04:00 分类:问答How do I output a compile-time numeric constant during compilation in Visual C++?
Visual C++ has #pragma message that outputs a string into compiler output. Now I have a factory: template<class Type>[详细]
2023-02-28 17:51 分类:问答Java Generics - Comprehensive "Start to End" guide? [closed]
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari[详细]
2023-02-27 02:49 分类:问答Generate code at compile time with Java?
I\'ve created a set of classes that represent RESTful resources, and other helper things that actually do the HTTP requests to retrieve and build objects.[详细]
2023-02-20 02:43 分类:问答Embedding/importing SWC at compile-time in ActionScript, without setting a library path
Hail, Stack! I\'m having a little trouble figuring out how to import a SWC file directly in ActionScript, witho开发者_C百科ut setting a library path to the file.[详细]
2023-02-16 22:44 分类:问答