[D.typesystem] Static (CT) enforce anybody?
Philippe Sigaud
philippe.sigaud at gmail.com
Wed Sep 1 13:34:59 PDT 2010
On Wed, Sep 1, 2010 at 16:28, Justin Johansson <no at spam.com> wrote:
> On 01/09/10 22:49, Steven Schveighoffer wrote:
>
>> Compile time checks are only available for compile time values.
>>
>
Yes, Steve is right. Also, you cannot throw exceptions at CT.
But you can use 'static assert(...)' to force the evaluation of an assertion
at CT.
>
> Thanks Steve,
>
> I'm returning to bomb bay to think about this. (See my
> 'Dark Star' post for interpretation)
>
Why do I think that half the reason you asked this question was to be able
to post this reply? ;)
Philippe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20100901/bebe496d/attachment.html>
More information about the Digitalmars-d
mailing list