C++ guys hate static_if?

Andrej Mitrovic andrej.mitrovich at gmail.com
Thu Mar 14 10:56:56 PDT 2013


On 3/14/13, H. S. Teoh <hsteoh at quickfur.ath.cx> wrote:
> But if we have to go that far, then it begs the original question: why
> not have the compiler do that for us?

But where do you draw the line? There could be an unlimited number of
permutations of how a template is instantiated. This would blow up
compilation time by an unknown factor. And I doubt this would be
simple to implement too.


More information about the Digitalmars-d mailing list