C++ guys hate static_if?

Peter Alexander peter.alexander.au at gmail.com
Sun Mar 10 10:32:03 PDT 2013


On Sunday, 10 March 2013 at 16:05:37 UTC, monarch_dodra wrote:
> I'm not saying template constraints are bad or anything, I 
> think they are incredible tools for dispatching to specialized 
> overloads.
>
> However, In regards to *validating* the input, I think 
> concepts/static asserts, are both more robust 
> implementation-wise, while being clearer for the end coder.

+1


More information about the Digitalmars-d mailing list