POV-Ray : Newsgroups : povray.off-topic : A question about Java generics (not a flame) : Re: A question about Java generics (not a flame) Server Time: 3 Dec 2008 04:33:49 GMT
  Re: A question about Java generics (not a flame)  
From: Orchid XP v8
Date: 9 May 2008 19:15:21
>> - Templates can do other things besides implementing generics.
> 
>   I think it suffices to say that with C++ templates you can, for example,
> calculate at *compilation time* whether a certain number is prime or not.

So... it's Turing-complete?

-- 
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*


Post a reply to this message

Copyright 2003-2008 Persistence of Vision Raytracer Pty. Ltd.