3 ms·
I agree that in this particular case most compilers would be able to take advantage of the compile time constant even without any templates. But I also suspect
by usefulcat 2y ago
I agree that in this particular case most compilers would be able to take advantage of the compile time constant even without any templates. But I also suspect there could be other cases where templates might be useful or necessary.