POV-Ray : Newsgroups : povray.off-topic : C++ WTFOTD : Re: C++ WTFOTD Server Time
3 Sep 2024 15:12:13 EDT (-0400)
  Re: C++ WTFOTD  
From: Warp
Date: 18 Nov 2010 09:20:13
Message: <4ce5361d@news.povray.org>
Nicolas Alvarez <nic### [at] gmailcom> wrote:
> http://stackoverflow.com/questions/275295#275295

  The problem with template metaprogramming is that the "language" and the
compilers are not especially optimized for that. For instance, the only
way to create "loops" is by recursive template definitions, and each
recursion will produce ever-increasingly long type names, and compilers
often allocate only a limited amount of memory for these names. (It also
means that the deeper the recursion, the slower the compilation.)

-- 
                                                          - Warp


Post a reply to this message

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