C++ guys hate static_if?

Walter Bright newshound2 at digitalmars.com
Sat Mar 9 18:35:25 PST 2013


On 3/9/2013 8:22 AM, monarch_dodra wrote:
> Things can get evenmore hairy,when you are operating on 2 different types.

This is why complex expressions can be encapsulated as functions.

>
> One last thing to keep in mind is that having constraints allows hijacking,
> whereas concpets/static asserts resolve as an ambigus call.

I don't see where the hijacking comes in.



More information about the Digitalmars-d mailing list