Published April 28, 2007
| Version v1
Journal article
Open
Compile-time Computation of Polytime Functions
Description
We investigate the computational power of C++ compilers. In particular, it is known that any partial recursive function can be computed at compile time, using the template mechanism to de¯ne primitive recursion, composition, and minimalization. We show that polynomial time computable functions can be computed at compile-time using the same mechanism, together with template specialization.
Files
jucs_article_28768.pdf
Files
(99.8 kB)
Name | Size | Download all |
---|---|---|
md5:a4875289eb8edff86dcfc6e4d7c2f648
|
99.8 kB | Preview Download |