QuoteOriginally posted by: outrunMy preference is to never make something runtime configurable if you don't need it to be. its less expressive (type erasure) and had overhead. So I would use template and policies classes... But without requirements there is no good or bad!It is very easy to make requirements. But that's not the point RT vs CT.It's a design by contract problem. Here is my requirement "I want to use a numerical algorithm AND I do all the checking myself (my responsibility), not the code that the algorithm implements.' I think that is clear.In your code it would be:
Last edited by Cuchulainn
on November 24th, 2015, 11:00 pm, edited 1 time in total.