-
- Downloads
'power' method with integer exponent usable in compile-time expressions
Previously, the file 'power.hh' contained two template metaprograms that computed integer powers and were usable in compile-time expressions. With the advent of constexpr these metaprograms can be replaced by normal methods, leading to much code simplification.
-
mentioned in commit fabca873
-
mentioned in merge request !652 (closed)
Please register or sign in to comment